共用方式為


IExtensionLocator.GetExtendingDomainModels 方法 (Type, Boolean)

傳回可擴充指定網域模型之網域模型類別清單。

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

語法

'宣告
Function GetExtendingDomainModels ( _
    domainModelType As Type, _
    recurse As Boolean _
) As IEnumerable(Of Type)
IEnumerable<Type> GetExtendingDomainModels(
    Type domainModelType,
    bool recurse
)

參數

  • domainModelType
    類型:System.Type
    正在擴充的網域模型的型別。
  • recurse
    類型:System.Boolean
    指示是否只應傳回指定的網域模型型別的擴充功能,或者其相依性的擴充功能和擴充功能的擴充功能應同時包含在內。

傳回值

類型:System.Collections.Generic.IEnumerable<Type>
將指定的型別擴充的網域模型型別的清單

.NET Framework 安全性

請參閱

參考

IExtensionLocator 介面

GetExtendingDomainModels 多載

Microsoft.VisualStudio.Modeling 命名空間