共用方式為


SPFeatureDefinitionCollection.Item property (Guid)

會從集合取得指定的 guid 之功能定義。

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

Syntax

'宣告
Public ReadOnly Default Property Item ( _
    featureId As Guid _
) As SPFeatureDefinition
    Get
'用途
Dim instance As SPFeatureDefinitionCollection
Dim featureId As Guid
Dim value As SPFeatureDefinition

value = instance(featureId)
public SPFeatureDefinition this[
    Guid featureId
] { get; }

參數

  • featureId
    Type: System.Guid

    System.Guid所指定的功能定義。

Property value

Type: Microsoft.SharePoint.Administration.SPFeatureDefinition
表示 「 功能 」 定義Microsoft.SharePoint.Administration.SPFeatureDefinition物件。

請參閱

參照

SPFeatureDefinitionCollection class

SPFeatureDefinitionCollection members

Item overload

Microsoft.SharePoint.Administration namespace