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.171 -- Release Build+3ecaf8b66f8331a5e50f9e43ac234abd50096934
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