Share via


MetadataObject.WriteXml Method

NOTE: This API is now obsolete.

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
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
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)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
public virtual void WriteXml(
    XmlWriter xmlWriter,
    PackageContents packageContents
)

Parameters

See Also

Reference

MetadataObject Class

MetadataObject Members

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace