ListFormWebPart.TemplateName 属性

获取或设置的模板的名称。

命名空间:  Microsoft.SharePoint.WebPartPages
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<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; }

属性值

类型:System.String
取决于当前PageType模板的名称。如果不设置,默认值基于PageType属性的当前值。

另请参阅

引用

ListFormWebPart 类

ListFormWebPart 成员

Microsoft.SharePoint.WebPartPages 命名空间