VsModelingAdapterManager.CreateModelingAdapterInstance 方法 (ModelBusReference, ModelElement)
實作應該提供 ModelingAdapter 執行個體,為使用所傳遞 DomainModelRoot 項目的模型外部全局檢視提供服務。
命名空間: Microsoft.VisualStudio.Modeling.Integration.Shell
組件: Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0.dll 中)
語法
protected abstract ModelingAdapter CreateModelingAdapterInstance(
ModelBusReference reference,
ModelElement rootModelElement
)
protected:
virtual ModelingAdapter^ CreateModelingAdapterInstance(
ModelBusReference^ reference,
ModelElement^ rootModelElement
) abstract
abstract CreateModelingAdapterInstance :
reference:ModelBusReference *
rootModelElement:ModelElement -> ModelingAdapter
Protected MustOverride Function CreateModelingAdapterInstance (
reference As ModelBusReference,
rootModelElement As ModelElement
) As ModelingAdapter
參數
傳回值
Type: Microsoft.VisualStudio.Modeling.Integration.ModelingAdapter
請參閱
VsModelingAdapterManager 類別
Microsoft.VisualStudio.Modeling.Integration.Shell 命名空間
回到頁首