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