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
xmlWriter
Type: System.Xml.XmlWriterThe XML fragment to write.
packageContents
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.PackageContentsOne of LocalizedNames, Model, Permissions, or Properties.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Administration Namespace