共用方式為


ModelBusAdapterManager.GetExposedElementTypes 方法

取得集合型別的所有 ModelElement 都由這個介面卡管理員] 中,管理所有 ModelBusAdapter 由公開,因此可以參考來自外部連絡人的顯示名稱。

命名空間:  Microsoft.VisualStudio.Modeling.Integration
組件:  Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Integration.11.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>
唯讀集合的SupportedTypes

.NET Framework 安全性

請參閱

參考

ModelBusAdapterManager 類別

Microsoft.VisualStudio.Modeling.Integration 命名空間