共用方式為


SPForm.TemplateName Property

Gets the name of a predefined control template for the form.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property TemplateName As String
    Get
'Usage
Dim instance As SPForm
Dim value As String

value = instance.TemplateName
public string TemplateName { get; }

Property Value

Type: System.String
A string containing the name of the control template.

See Also

Reference

SPForm Class

SPForm Members

Microsoft.SharePoint Namespace