SPFeatureDefinitionCollection.Remove method (String)

Removes the Feature definition with the specified relative manifest path from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    relativePathToFeatureManifest As String _
)
'Usage
Dim instance As SPFeatureDefinitionCollection
Dim relativePathToFeatureManifest As String

instance.Remove(relativePathToFeatureManifest)
public void Remove(
    string relativePathToFeatureManifest
)

Parameters

  • relativePathToFeatureManifest
    Type: System.String

    A string that contains the relative path to the manifest for the Feature.

See also

Reference

SPFeatureDefinitionCollection class

SPFeatureDefinitionCollection members

Remove overload

Microsoft.SharePoint.Administration namespace