ListFormWebPart.TemplateName property
取得或設定的範本名稱。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ResourcesAttribute("TemplateName", "Miscellaneous", "TemplateName")> _
<BrowsableAttribute(True)> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property TemplateName As String
Get
Set
'用途
Dim instance As ListFormWebPart
Dim value As String
value = instance.TemplateName
instance.TemplateName = value
[ResourcesAttribute("TemplateName", "Miscellaneous", "TemplateName")]
[BrowsableAttribute(true)]
[WebPartStorageAttribute(Storage.Shared)]
public string TemplateName { get; set; }
Property value
Type: System.String
範本名稱,後者相依於目前的PageType。如果沒有設定預設值根據目前的PageType屬性值。