Share via


SPXmlDocumentCollection.Add Method

Adds the specified XML document to the XML document collection.

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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType)> _
Public Sub Add ( _
    document As XmlDocument _
)
'Usage
Dim instance As SPXmlDocumentCollection
Dim document As XmlDocument

instance.Add(document)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType)]
public void Add(
    XmlDocument document
)

Parameters

See Also

Reference

SPXmlDocumentCollection Class

SPXmlDocumentCollection Members

Microsoft.SharePoint Namespace