SPPrefixCollection.Delete method (String[])
Deletes the specified array of prefixes from the collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Delete ( _
strPrefixes As String() _
)
'Usage
Dim instance As SPPrefixCollection
Dim strPrefixes As String()
instance.Delete(strPrefixes)
public void Delete(
string[] strPrefixes
)
Parameters
strPrefixes
Type: []A string array that contains the prefixes to delete. These are server-relative URL paths.
Remarks
In a hostheader prefix collection, the explicit root inclusion must not be removed. If it is, an ArgumentOutOfRangeException will be thrown.