SPContentType.DocumentTemplate-Eigenschaft

Dient zum Abrufen oder festlegen die Dokumentvorlage für den Inhaltstyp.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property DocumentTemplate As String
    Get
    Set
'Usage
Dim instance As SPContentType
Dim value As String

value = instance.DocumentTemplate

instance.DocumentTemplate = value
public string DocumentTemplate { get; set; }

Eigenschaftswert

Typ: System.String
Der Pfad und Dateiname der Vorlage.

Hinweise

Die Dokumentvorlage ist die Datei, welche SharePoint Foundation als Vorlage wird geöffnet, wenn ein Benutzer ein neues Element dieses Inhaltstyps anfordert.

Dieser Pfad kann absolute, relativ zur Basis-URL Servers oder relativ zum Ressourcenordner des Inhaltstyps sein.

Siehe auch

Referenz

SPContentType Klasse

SPContentType-Member

Microsoft.SharePoint-Namespace

Weitere Ressourcen

Introduction to Content Types

Site and List Content Types

Base Content Type Hierarchy