共用方式為


SPField.Id property

取得欄位的 GUID。

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

Syntax

'宣告
Public ReadOnly Property Id As Guid
    Get
'用途
Dim instance As SPField
Dim value As Guid

value = instance.Id
public Guid Id { get; }

Property value

Type: System.Guid
System.Guid物件,其中包含 GUID。

請參閱

參照

SPField class

SPField members

Microsoft.SharePoint namespace