ModelBusAdapterManager.GetExposedElementTypes 方法

获取由任何 ModelBusAdapter 公开的所有 ModelElement 类型集合,ModelBusAdapter 是由此适配管理器管理的,这样就可以如它们的显示名称一样从外部引用。

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

语法

声明
Public MustOverride Function GetExposedElementTypes ( _
    logicalAdapterId As String _
) As IEnumerable(Of SupportedType)
public abstract IEnumerable<SupportedType> GetExposedElementTypes(
    string logicalAdapterId
)

参数

  • logicalAdapterId
    类型:System.String
    从中要获取支持类型的适配器 ID

返回值

类型:System.Collections.Generic.IEnumerable<SupportedType>
SupportedType 的只读集合

.NET Framework 安全性

请参阅

参考

ModelBusAdapterManager 类

Microsoft.VisualStudio.Modeling.Integration 命名空间