Share via


SPField.SourceId property

Gets either the namespace that defines a built-in field or, if it a custom field, the GUID that identifies the list or Web site where it was created.

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

Syntax

public string SourceId { get; }

Property value

Type: System.String
A string that contains either a namespace path or a list GUID.

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace