共用方式為


ModelBus.GetAdapterManager Method

Locate a ModelBusAdapterManager instance using its Id.

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

Syntax

'宣告
Public Function GetAdapterManager ( _
    id As String _
) As ModelBusAdapterManager
public ModelBusAdapterManager GetAdapterManager(
    string id
)
public:
virtual ModelBusAdapterManager^ GetAdapterManager(
    String^ id
) sealed
abstract GetAdapterManager : 
        id:string -> ModelBusAdapterManager 
override GetAdapterManager : 
        id:string -> ModelBusAdapterManager 
public final function GetAdapterManager(
    id : String
) : ModelBusAdapterManager

Parameters

  • id
    Type: System.String
    Id of the ModelBusAdapterManager to look up.

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapterManager
ModelBusAdapterManager instance with the given Id if found, exception will be thrown otherwise.

Implements

IModelBus.GetAdapterManager(String)

.NET Framework Security

See Also

Reference

ModelBus Class

Microsoft.VisualStudio.Modeling.Integration Namespace