Partager via


DslDefinitionModelSerializationHelperBase.ReadRootElement Method

Read an element from the root of XML.

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

DslDefinitionModelSerializationHelperBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace