Association.WriteXml Method
Writes an Association object to the XML stream.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Overrides Sub WriteXml ( _
xmlWriter As XmlWriter, _
packageContents As PackageContents _
)
'Usage
Dim instance As Association
Dim xmlWriter As XmlWriter
Dim packageContents As PackageContents
instance.WriteXml(xmlWriter, packageContents)
public override void WriteXml(
XmlWriter xmlWriter,
PackageContents packageContents
)
Parameters
- xmlWriter
Type: System.Xml.XmlWriter
The stream to write.
- packageContents
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.PackageContents
One of the PackageContents enumeration values.
Remarks
Child objects (Permissions, LocalizedNames may also be written depending on the contents of the PackageContents parameter.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Administration Namespace