共用方式為


DomainClassXmlSerializer.ReadRootElement Method

Deserializes the root model element from XML.

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

Syntax

'宣告
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