Dela via


LanguageSpecificContent.ContentTemplate Property

Gets or sets the content template for populating the LanguageSpecificContent control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.ContentTemplate

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

Property Value

Type: System.Web.UI.ITemplate
ITemplate
The content template of the control.

See Also

Reference

LanguageSpecificContent Class

LanguageSpecificContent Members

Microsoft.SharePoint.WebControls Namespace