Partager via


IModelBus.FindAdapterManagers Method (Object[])

 

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

Syntax

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

Parameters

  • modelLocatorInfo
    Type: 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.

See Also

IModelBus Interface
Microsoft.VisualStudio.Modeling.Integration Namespace

Return to top