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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Syntax
'Declaración
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<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(array<Object[])
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.