SPFeatureDefinitionCollection.Item property (String, Int32)

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

Syntax

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

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

Parameters

Property value

Type: Microsoft.SharePoint.Administration.SPFeatureDefinition

See also

Reference

SPFeatureDefinitionCollection class

SPFeatureDefinitionCollection members

Item overload

Microsoft.SharePoint.Administration namespace