Association.ReadXml Method
Reads an Association 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, _
lobSystem As LobSystem, _
packageContents As PackageContents _
) As Association
'Usage
Dim xmlReader As XmlReader
Dim context As ParseContext
Dim lobSystem As LobSystem
Dim packageContents As PackageContents
Dim returnValue As Association
returnValue = Association.ReadXml(xmlReader, _
context, lobSystem, packageContents)
public static Association ReadXml(
XmlReader xmlReader,
ParseContext context,
LobSystem lobSystem,
PackageContents packageContents
)
Parameters
- xmlReader
Type: System.Xml.XmlReader
The stream to read.
- context
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.ParseContext
The parse context for the stream.
- lobSystem
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.LobSystem
The parent LobSystem object.
- packageContents
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.PackageContents
One of the PackageContents enumeration values.
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.Association
An Association 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