Partager via


ModelBus.FindAdapterManagers Method (Object[])

 

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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)

Syntax

public IEnumerable<ModelBusAdapterManager> FindAdapterManagers(
    params object[] modelLocatorInfo
)
public:
virtual IEnumerable<ModelBusAdapterManager^>^ FindAdapterManagers(
    ... array<Object^>^ modelLocatorInfo
) sealed
abstract FindAdapterManagers : 
        [<ParamArrayAttribute>] modelLocatorInfo:Object[] -> IEnumerable<ModelBusAdapterManager>
override FindAdapterManagers : 
        [<ParamArrayAttribute>] modelLocatorInfo:Object[] -> IEnumerable<ModelBusAdapterManager>
Public Function FindAdapterManagers (
    ParamArray modelLocatorInfo As Object()
) As IEnumerable(Of ModelBusAdapterManager)

Parameters

  • modelLocatorInfo
    Type: System.Object[]

    ReferenceContext provided to describe an instance of an model.

Return Value

Type: System.Collections.Generic.IEnumerable<ModelBusAdapterManager>

List of found ModelBusAdapter managers.

Implements

IModelBus.FindAdapterManagers(Object[])

See Also

ModelBus Class
Microsoft.VisualStudio.Modeling.Integration Namespace

Return to top