共用方式為


SPField.Type property

取得或設定欄位的類型。

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

Syntax

'宣告
Public Property Type As SPFieldType
    Get
    Set
'用途
Dim instance As SPField
Dim value As SPFieldType

value = instance.Type

instance.Type = value
public SPFieldType Type { get; set; }

Property value

Type: Microsoft.SharePoint.SPFieldType
Microsoft.SharePoint.SPFieldType 值,指定欄位的類型。

請參閱

參照

SPField class

SPField members

Microsoft.SharePoint namespace