共用方式為


SPField.Id Property

Gets the GUID of the field.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property Id As Guid
    Get
'Usage
Dim instance As SPField
Dim value As Guid

value = instance.Id
[ClientCallableAttribute]
public Guid Id { get; }

Property Value

Type: System.Guid
A System.Guid object that contains the GUID.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace