SPFeatureDefinitionCollection.Item property (Guid, Int32)

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

Syntax

'Declaration
Public ReadOnly Property Item ( _
    featureId As Guid, _
    compatibilityLevel As Integer _
) As SPFeatureDefinition
    Get
'Usage
Dim instance As SPFeatureDefinitionCollection
Dim featureId As Guid
Dim compatibilityLevel As Integer
Dim value As SPFeatureDefinition

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

Parameters

Property value

Type: Microsoft.SharePoint.Administration.SPFeatureDefinition

See also

Reference

SPFeatureDefinitionCollection class

SPFeatureDefinitionCollection members

Item overload

Microsoft.SharePoint.Administration namespace