Share via


MetadataObject.WriteXml Method

Writes the specified XML fragment in the metadata repository.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Overridable Sub WriteXml ( _
    xmlWriter As XmlWriter, _
    packageContents As PackageContents _
)
'Usage
Dim instance As MetadataObject
Dim xmlWriter As XmlWriter
Dim packageContents As PackageContents

instance.WriteXml(xmlWriter, packageContents)
public virtual void WriteXml(
    XmlWriter xmlWriter,
    PackageContents packageContents
)

Parameters

See Also

Reference

MetadataObject Class

MetadataObject Members

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace