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)
Available in Sandboxed Solutions: No

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