Compartir a través de


: Action.ReadXml (Método) (Microsoft.Office.Server.ApplicationRegistry.Administration)

Reads an Action object from an XML stream.

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
Public Shared Function ReadXml ( _
    xmlReader As XmlReader, _
    context As ParseContext, _
    entity As Entity, _
    packageContents As PackageContents _
) As Action
'Uso
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
)

Parámetros

  • 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.

Valor devuelto

An Action object.

Comentarios

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.

Vea también

Referencia

Action (Clase)
Action (Miembros)
Microsoft.Office.Server.ApplicationRegistry.Administration (Espacio de nombres)