SPXmlDocumentCollection.Delete method

Deletes the specified XML document from the XML document collection.

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

Syntax

'Declaration
Public Sub Delete ( _
    namespaceUri As String _
)
'Usage
Dim instance As SPXmlDocumentCollection
Dim namespaceUri As String

instance.Delete(namespaceUri)
public void Delete(
    string namespaceUri
)

Parameters

  • namespaceUri
    Type: System.String

    The namespace Uniform Resource Identifier (URI) that belongs to an XML document collection.

Remarks

Use this method to delete the specified XML document from the XML document collection. This method does nothing if the document does not exist.

See also

Reference

SPXmlDocumentCollection class

SPXmlDocumentCollection members

Microsoft.SharePoint namespace