Partager via


IModelBus.FindAdapterManagers Method

Returns a list of ModelBusAdapter managers that can create ModelBusReferences to the specified object. The location information can be in any form that can be recognized by an available adapter manager, such as the file path of a DSL model file.

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

Syntax

'Déclaration
Function FindAdapterManagers ( _
    ParamArray modelLocatorInfo As Object() _
) As IEnumerable(Of ModelBusAdapterManager)
IEnumerable<ModelBusAdapterManager> FindAdapterManagers(
    params Object[] modelLocatorInfo
)
IEnumerable<ModelBusAdapterManager^>^ FindAdapterManagers(
    ... array<Object^>^ modelLocatorInfo
)
abstract FindAdapterManagers : 
        modelLocatorInfo:Object[] -> IEnumerable<ModelBusAdapterManager> 
function FindAdapterManagers(
    ... modelLocatorInfo : Object[]
) : IEnumerable<ModelBusAdapterManager>

Parameters

  • modelLocatorInfo
    Type: array<System.Object[]
    A file path name, EnvDTE.ProjectItem, or other references that can be recognized by available adapters.

Return Value

Type: System.Collections.Generic.IEnumerable<ModelBusAdapterManager>
List of ModelBusAdapter manager that can deal with the specified model.

.NET Framework Security

See Also

Reference

IModelBus Interface

Microsoft.VisualStudio.Modeling.Integration Namespace