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.160 -- Release Build+69269a1754081bcb38397d2d6a05132ae03c7054
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