SPFeatureDefinitionCollection.Item property (String)
Gets the Feature definition with the specified name from the collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
featureName As String _
) As SPFeatureDefinition
Get
'Usage
Dim instance As SPFeatureDefinitionCollection
Dim featureName As String
Dim value As SPFeatureDefinition
value = instance.Item(featureName)
public SPFeatureDefinition this[
string featureName
] { get; }
Parameters
featureName
Type: System.StringA string that specifies the Feature definition.
Property value
Type: Microsoft.SharePoint.Administration.SPFeatureDefinition
An Microsoft.SharePoint.Administration.SPFeatureDefinition object that represents the feature definition.
See also
Reference
SPFeatureDefinitionCollection class