次の方法で共有


VsModelingAdapterManager.CreateModelingAdapterInstance メソッド

Imlementations に、DomainModelRoot の要素を使用してモデルの外部世界観を処理する ModelingAdapter のインスタンスを提供する必要があります。

名前空間:  Microsoft.VisualStudio.Modeling.Integration.Shell
アセンブリ:  Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.11.0.dll 内)

構文

'宣言
Protected MustOverride Function CreateModelingAdapterInstance ( _
    reference As ModelBusReference, _
    rootModelElement As ModelElement _
) As ModelingAdapter
protected abstract ModelingAdapter CreateModelingAdapterInstance(
    ModelBusReference reference,
    ModelElement rootModelElement
)

パラメーター

戻り値

型 : Microsoft.VisualStudio.Modeling.Integration.ModelingAdapter

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

VsModelingAdapterManager クラス

Microsoft.VisualStudio.Modeling.Integration.Shell 名前空間