Partager via


IExtensionLocator.GetExtendingDomainModels Method (Type, Boolean)

Returns a list of domain model types that extend the specified domain model.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Déclaration
Function GetExtendingDomainModels ( _
    domainModelType As Type, _
    recurse As Boolean _
) As IEnumerable(Of Type)
IEnumerable<Type> GetExtendingDomainModels(
    Type domainModelType,
    bool recurse
)
IEnumerable<Type^>^ GetExtendingDomainModels(
    Type^ domainModelType, 
    bool recurse
)
abstract GetExtendingDomainModels : 
        domainModelType:Type * 
        recurse:bool -> IEnumerable<Type> 
function GetExtendingDomainModels(
    domainModelType : Type, 
    recurse : boolean
) : IEnumerable<Type>

Parameters

  • domainModelType
    Type: System.Type
    Type of the domain model being extended.
  • recurse
    Type: System.Boolean
    Indicates whether only extensions of the specified domain model type should be returned, or whether extensions of its dependencies and extensions of extensions should be included.

Return Value

Type: System.Collections.Generic.IEnumerable<Type>
A list of domain model types that extend the specified type

.NET Framework Security

See Also

Reference

IExtensionLocator Interface

GetExtendingDomainModels Overload

Microsoft.VisualStudio.Modeling Namespace