ModelBusAdapter.GetElementReferences 方法 (Type)
取回所有符合指定之資料合約的參考的物件。
命名空間: Microsoft.VisualStudio.Modeling.Integration
組件: Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll 中)
語法
protected internal abstract IEnumerable<ModelBusReference> GetElementReferences(
Type elementType
)
public protected:
virtual IEnumerable<ModelBusReference^>^ GetElementReferences(
Type^ elementType
) abstract
abstract GetElementReferences :
elementType:Type -> IEnumerable<ModelBusReference>
Protected Friend MustOverride Function GetElementReferences (
elementType As Type
) As IEnumerable(Of ModelBusReference)
參數
- dataContract
資料合約型別。
傳回值
Type: System.Collections.Generic.IEnumerable<ModelBusReference>
參考的唯讀集合。
備註
如果參考的物件從這個型別所衍生的型別,它是由決定實際的實作決定是否應該傳回物件以這個方法。
請參閱
ModelBusAdapter 類別
Microsoft.VisualStudio.Modeling.Integration 命名空間
回到頁首