共用方式為


ModelBusAdapterManager.GetExposedElementTypes 方法

取得這個配接器管理員所管理之任何 ModelBusAdapter 所公開且可藉以從外部參考的所有 ModelElement 型別的集合,連同其顯示名稱也一併取得。

命名空間:  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 命名空間