Partager 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)

Syntax

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

value = instance.ContentTemplate

instance.ContentTemplate = value
[TemplateInstanceAttribute(TemplateInstance.Single)]
[TemplateContainerAttribute(typeof(LanguageSpecificContent))]
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