Partager via


Action.ReadXml, méthode (Microsoft.Office.Server.ApplicationRegistry.Administration)

Reads an Action object from an XML stream.

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

Syntaxe

'Déclaration
Public Shared Function ReadXml ( _
    xmlReader As XmlReader, _
    context As ParseContext, _
    entity As Entity, _
    packageContents As PackageContents _
) As Action
'Utilisation
Dim xmlReader As XmlReader
Dim context As ParseContext
Dim entity As Entity
Dim packageContents As PackageContents
Dim returnValue As Action

returnValue = Action.ReadXml(xmlReader, context, entity, packageContents)
public static Action ReadXml (
    XmlReader xmlReader,
    ParseContext context,
    Entity entity,
    PackageContents packageContents
)

Paramètres

  • xmlReader
    The XmlReader object to be read.
  • context
    The parse context.
  • entity
    The parent entity object.
  • packageContents
    One of PackageContents.Permissions, PackageContents.LocalizedNames or PackageContents.Properties.

Valeur de retour

An Action object.

Remarques

This method is used during import, but may also be used to materialize a single Action from an XML blob. Properties, Permissions, LocalizedNames may also be read (and must exist in the XML) depending on the contents of the PackageContents parameter.

Voir aussi

Référence

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