Freigeben über


UIVersionedContent.ContentTemplate-Eigenschaft

Dient zum Abrufen oder festlegen die Vorlage, die Inhalte, die gerendert wird enthält, wenn die UIVersion der angegebenen Version entspricht.

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

Syntax

'Declaration
<TemplateContainerAttribute(GetType(UIVersionedContent))> _
<TemplateInstanceAttribute(TemplateInstance.Single)> _
Public Property ContentTemplate As ITemplate
    Get
    Set
'Usage
Dim instance As UIVersionedContent
Dim value As ITemplate

value = instance.ContentTemplate

instance.ContentTemplate = value
[TemplateContainerAttribute(typeof(UIVersionedContent))]
[TemplateInstanceAttribute(TemplateInstance.Single)]
public ITemplate ContentTemplate { get; set; }

Eigenschaftswert

Typ: System.Web.UI.ITemplate
Eine Vorlage, die den Inhalt enthält, der gerendert wird.

Siehe auch

Referenz

UIVersionedContent Klasse

UIVersionedContent-Member

Microsoft.SharePoint.WebControls-Namespace