ActionParameter.ReadXml Method
Reads an ActionParameter object from an XML stream.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Shared Function ReadXml ( _
xmlReader As XmlReader, _
context As ParseContext, _
action As Action, _
packageContents As PackageContents _
) As ActionParameter
'Usage
Dim xmlReader As XmlReader
Dim context As ParseContext
Dim action As Action
Dim packageContents As PackageContents
Dim returnValue As ActionParameter
returnValue = ActionParameter.ReadXml(xmlReader, _
context, action, packageContents)
public static ActionParameter ReadXml(
XmlReader xmlReader,
ParseContext context,
Action action,
PackageContents packageContents
)
Parameters
- xmlReader
Type: System.Xml.XmlReader
The xmlReader object to be read.
- context
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.ParseContext
The parse context.
- action
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.Action
The parent Action object.
- packageContents
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.PackageContents
One of the PackageContents enumeration values.
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.ActionParameter
Remarks
This method is used during import, but may also be used to materialize a single ActionParameter 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