Identifier.MergeXml Method
Merges the specified XML fragment with the existing metadata in the metadata repository and creates an Identifier object.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Shared Function MergeXml ( _
xmlReader As XmlReader, _
context As ParseContext, _
entity As Entity, _
packageContents As PackageContents _
) As Identifier
'Usage
Dim xmlReader As XmlReader
Dim context As ParseContext
Dim entity As Entity
Dim packageContents As PackageContents
Dim returnValue As Identifier
returnValue = Identifier.MergeXml(xmlReader, _
context, entity, packageContents)
public static Identifier MergeXml(
XmlReader xmlReader,
ParseContext context,
Entity entity,
PackageContents packageContents
)
Parameters
- xmlReader
Type: System.Xml.XmlReader
The XML fragment to read.
- context
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.ParseContext
The ParseContext object.
- entity
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.Entity
The entity this identifier belongs to.
- packageContents
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.PackageContents
One of LocalizedNames, Model, Permissions, or Properties.
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.Identifier
An Identifier object.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Administration Namespace