UIVersionedContent.ContentTemplate property
Gets or sets the template that contains content that is rendered when the UIVersion matches the specified version.
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; }
Property value
Type: System.Web.UI.ITemplate
A template that contains the content that is rendered.