共用方式為


SPContentType.FeatureId property

取得此功能會建立內容型別識別項。

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

Syntax

'宣告
Public Property FeatureId As Guid
    Get
    Friend Set
'用途
Dim instance As SPContentType
Dim value As Guid

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

Property value

Type: System.Guid
如果內容類型由功能 ; 所建立,則值為一項功能的識別項否則,則值為Guid.Empty。

請參閱

參照

SPContentType class

SPContentType members

Microsoft.SharePoint namespace