次の方法で共有


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

<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
<TemplateContainerAttribute(GetType(RenderingTemplateContainer))> _
Public Property Template As ITemplate
    Get
    Set

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