次の方法で共有


SPContentType.FeatureId property

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

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

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