Share via


SPXmlDocumentCollection.Delete Method

Deletes the specified XML document from the XML document collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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