Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the name of the template.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property TemplateName As String
Get
Set
'Usage
Dim instance As ListFormWebPart
Dim value As String
value = instance.TemplateName
instance.TemplateName = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.Shared)]
public string TemplateName { get; set; }
Property Value
Type: System.String
The name of the template, which depends on the current PageType. If not set, the default value is based on the current value of the PageType property.