共用方式為


SPFeatureDefinitionCollection.Item property (Guid, Int32)

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

Syntax

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

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

參數

Property value

Type: Microsoft.SharePoint.Administration.SPFeatureDefinition

請參閱

參照

SPFeatureDefinitionCollection class

SPFeatureDefinitionCollection members

Item overload

Microsoft.SharePoint.Administration namespace