Engine.GetAdapterByKeyName

Syntax

Engine.GetAdapterByKeyName( adapterKeyName)

Return Value

Adapter

The adapter that has the specified key name.

Purpose

Returns an Adapter object from the list of module adapters.

Remarks

To access the properties and methods of a specific adapter, call GetAdapterByKeyName and then query the returned Adapter object for the interface of the desired adapter.

Parameters

adapterKeyName As String

[In] Specifies the name to use as a key to find the adapter in the list. Pass one of the AdapterKeyNames constants.

See Also

Adapter

AdapterKeyNames

Engine.GetAdapter