SPFeatureCollection.Item property
Gets the Feature with the specified GUID from the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
featureId As Guid _
) As SPFeature
Get
'Usage
Dim instance As SPFeatureCollection
Dim featureId As Guid
Dim value As SPFeature
value = instance(featureId)
public SPFeature this[
Guid featureId
] { get; }
Parameters
featureId
Type: System.GuidA System.Guid that identifies the Feature.
Property value
Type: Microsoft.SharePoint.SPFeature
An SPFeature object that represents the Feature.