Action.ReadXml Method
NOTE: This API is now obsolete.
Reads an Action object from an XML stream.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", _
False)> _
Public Shared Function ReadXml ( _
xmlReader As XmlReader, _
context As ParseContext, _
entity As Entity, _
packageContents As PackageContents _
) As Action
'Usage
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)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
public static Action ReadXml(
XmlReader xmlReader,
ParseContext context,
Entity entity,
PackageContents packageContents
)
Parameters
xmlReader
Type: System.Xml.XmlReaderThe XmlReader object to be read.
context
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.ParseContextThe parse context.
entity
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.EntityThe parent entity object.
packageContents
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.PackageContentsOne of PackageContents.Permissions, PackageContents.LocalizedNames or PackageContents.Properties.
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.Action
An Action object.
Remarks
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.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Administration Namespace