Share 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)
Available in Sandboxed Solutions: No

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