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.176 -- Release Build+53a3c1e187e0c85f0eef5aedfa0d3ac4b99e7489
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