ModelBus.GetAdapterManager 方法

用 ModelBusAdapterManager Id 加载其实例。

命名空间:  Microsoft.VisualStudio.Modeling.Integration
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll 中)

语法

声明
Public Function GetAdapterManager ( _
    id As String _
) As ModelBusAdapterManager
public ModelBusAdapterManager GetAdapterManager(
    string id
)

参数

  • id
    类型:System.String
    要查找的 ModelBusAdapterManager 的 ID。

返回值

类型:Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapterManager
如果找到有给定 Id 的 ModelBusAdapterManager 实例,否则将引发异常。

实现

IModelBus.GetAdapterManager(String)

.NET Framework 安全性

请参阅

参考

ModelBus 类

Microsoft.VisualStudio.Modeling.Integration 命名空间