Share via


ModelBus.FindAdapterManagers Method

Finds the list of ModelBusAdapter managers whose ModelBusAdapter scopes are described by the given context information. There may be multiple ModelBusAdapter managers that can work with the model, for example a .xml file can be opened by XML editor or Text editor.

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

Syntax

'Declaration
Public Function FindAdapterManagers ( _
    ParamArray modelLocatorInfo As Object() _
) As IEnumerable(Of ModelBusAdapterManager)
public IEnumerable<ModelBusAdapterManager> FindAdapterManagers(
    params Object[] modelLocatorInfo
)
public:
virtual IEnumerable<ModelBusAdapterManager^>^ FindAdapterManagers(
    ... array<Object^>^ modelLocatorInfo
) sealed
abstract FindAdapterManagers : 
        modelLocatorInfo:Object[] -> IEnumerable<ModelBusAdapterManager> 
override FindAdapterManagers : 
        modelLocatorInfo:Object[] -> IEnumerable<ModelBusAdapterManager> 
public final function FindAdapterManagers(
    ... modelLocatorInfo : Object[]
) : IEnumerable<ModelBusAdapterManager>

Parameters

  • modelLocatorInfo
    Type: array<Object[]

    ReferenceContext provided to describe an instance of an model.

Return Value

Type: IEnumerable<ModelBusAdapterManager>
List of found ModelBusAdapter managers.

Implements

IModelBus.FindAdapterManagers(array<Object[])

.NET Framework Security

See Also

Reference

ModelBus Class

Microsoft.VisualStudio.Modeling.Integration Namespace