This topic has not yet been rated - Rate this topic

DomainClassXmlSerializer.ReadRootElement Method

Deserializes the root model element from XML.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
public virtual void ReadRootElement(
	SerializationContext serializationContext,
	ModelElement element,
	XmlReader reader,
	ISchemaResolver schemaResolver
)

Parameters

serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext

The serialization context that stores serialization errors, if any.

element
Type: Microsoft.VisualStudio.Modeling.ModelElement

The model element instance to read from.

reader
Type: System.Xml.XmlReader

The XmlReader from which to read.

schemaResolver
Type: Microsoft.VisualStudio.Modeling.ISchemaResolver

The ISchemaResolver interface, which resolves an XML schema.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.