Compartilhar via


RenderingTemplate.Template property

Gets or sets the template that the RenderingTemplate control represents.

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

Syntax

'Declaration
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
<TemplateContainerAttribute(GetType(RenderingTemplateContainer))> _
Public Property Template As ITemplate
    Get
    Set
'Usage
Dim instance As RenderingTemplate
Dim value As ITemplate

value = instance.Template

instance.Template = value
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[TemplateContainerAttribute(typeof(RenderingTemplateContainer))]
public ITemplate Template { get; set; }

Property value

Type: System.Web.UI.ITemplate

Remarks

An ITemplate object that enables the RenderingTemplate control to serve as a template.

See also

Reference

RenderingTemplate class

RenderingTemplate members

Microsoft.SharePoint.WebControls namespace