共用方式為


SPForm.TemplateName property

取得表單中的預先定義的控制項範本的名稱。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property TemplateName As String
    Get
'用途
Dim instance As SPForm
Dim value As String

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

Property value

Type: System.String
字串,包含控制項範本的名稱。

請參閱

參照

SPForm class

SPForm members

Microsoft.SharePoint namespace