共用方式為


ModelBusAdapterManager.GetExposedElementTypes 方法 (String)

 

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

命名空間:   Microsoft.VisualStudio.Modeling.Integration
組件:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll 中)

語法

public abstract IEnumerable<SupportedType> GetExposedElementTypes(
    string logicalAdapterId
)
public:
virtual IEnumerable<SupportedType^>^ GetExposedElementTypes(
    String^ logicalAdapterId
) abstract
abstract GetExposedElementTypes : 
        logicalAdapterId:string -> IEnumerable<SupportedType>
Public MustOverride Function GetExposedElementTypes (
    logicalAdapterId As String
) As IEnumerable(Of SupportedType)

參數

  • logicalAdapterId
    從中取得支援型別的配接器 ID

傳回值

Type: System.Collections.Generic.IEnumerable<SupportedType>

SupportedType 的唯讀集合

請參閱

ModelBusAdapterManager 類別
Microsoft.VisualStudio.Modeling.Integration 命名空間

回到頁首