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.159 -- Release Build+5e229f6c17e56a080df8050499a7be13fe2cb600
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