Partager via


Association.WriteXml, méthode (Microsoft.Office.Server.ApplicationRegistry.Administration)

Writes an Association object to the XML stream.

Espace de noms : Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Overrides Sub WriteXml ( _
    xmlWriter As XmlWriter, _
    packageContents As PackageContents _
)
'Utilisation
Dim instance As Association
Dim xmlWriter As XmlWriter
Dim packageContents As PackageContents

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

Paramètres

  • xmlWriter
    The stream to write.
  • packageContents
    One of the PackageContents enumeration values.

Remarques

Child objects (Permissions, LocalizedNames may also be written depending on the contents of the PackageContents parameter.

Voir aussi

Référence

Association, classe
Membres Association
Microsoft.Office.Server.ApplicationRegistry.Administration, espace de noms