SPContentType.FeatureId Property

Gets the identifier of the Feature that created the content type.

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

Syntax

'Declaration
Public Property FeatureId As Guid
    Get
    Friend Set
'Usage
Dim instance As SPContentType
Dim value As Guid

value = instance.FeatureId
public Guid FeatureId { get; internal set; }

Property Value

Type: System.Guid
The value is the identifier of a Feature if the content type was created by a Feature; otherwise, the value is Guid.Empty.

See Also

Reference

SPContentType Class

SPContentType Members

Microsoft.SharePoint Namespace