Delen via


DomainClassXmlSerializer.ReadRootElement Method

Deserializes the root model element from XML.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Overridable Sub ReadRootElement ( _
    serializationContext As SerializationContext, _
    element As ModelElement, _
    reader As XmlReader, _
    schemaResolver As ISchemaResolver _
)
public virtual void ReadRootElement(
    SerializationContext serializationContext,
    ModelElement element,
    XmlReader reader,
    ISchemaResolver schemaResolver
)
public:
virtual void ReadRootElement(
    SerializationContext^ serializationContext, 
    ModelElement^ element, 
    XmlReader^ reader, 
    ISchemaResolver^ schemaResolver
)
abstract ReadRootElement : 
        serializationContext:SerializationContext * 
        element:ModelElement * 
        reader:XmlReader * 
        schemaResolver:ISchemaResolver -> unit  
override ReadRootElement : 
        serializationContext:SerializationContext * 
        element:ModelElement * 
        reader:XmlReader * 
        schemaResolver:ISchemaResolver -> unit
public function ReadRootElement(
    serializationContext : SerializationContext, 
    element : ModelElement, 
    reader : XmlReader, 
    schemaResolver : ISchemaResolver
)

Parameters

.NET Framework Security

See Also

Reference

DomainClassXmlSerializer Class

Microsoft.VisualStudio.Modeling Namespace