SPFeatureDefinitionCollection.Item Property (Guid)

Gets the Feature definition with the specified GUID from the collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

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

Parameters

  • featureId
    Type: System.Guid

    A System.Guid 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

SPFeatureDefinitionCollection Members

Item Overload

Microsoft.SharePoint.Administration Namespace