Gemstone Timeseries Library
Show/Hide TOC

# IAdapterCollectionTryGetAdapterByID Method

Attempts to get the adapter with the specified id.

## Definition

Namespace: Gemstone.Timeseries.Adapters
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.155 -- Release Build+e115e0aae9dba2e478171d226b178f6065fb745f
C#
View Source Request Example

    bool TryGetAdapterByID(
    	uint id,
    	out IAdapter?? adapter
    )

VB
View Source Request Example

    Function TryGetAdapterByID (
    	id As UInteger,
    	<OutAttribute> ByRef adapter As IAdapter
    ) As Boolean

C++
View Source Request Example

    bool TryGetAdapterByID(
    	unsigned int id,
    	[OutAttribute] IAdapter^% adapter
    )

JavaScript
View Source Request Example

    function TryGetAdapterByID(id, adapter);

#### Parameters

id UInt32
  ID of adapter to get.
adapter IAdapter
  Adapter reference if found; otherwise null.

#### Return Value

Boolean
true if adapter with the specified id was found; otherwise false.

## See Also

#### Reference

IAdapterCollection Interface
Gemstone.Timeseries.Adapters Namespace