Share via


SPField.Id property

Gets the GUID of the field.

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

Syntax

'Declaration
Public ReadOnly Property Id As Guid
    Get
'Usage
Dim instance As SPField
Dim value As Guid

value = instance.Id
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