共用方式為


DslDefinitionModelSerializationHelperBase.ReadRootElement 方法

讀取 XML 的根項目。

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

語法

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

參數

.NET Framework 安全性

請參閱

參考

DslDefinitionModelSerializationHelperBase 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間