|
IAdapterCollectionTryGetAdapterByID Method
|
Attempts to get the adapter with the specified id.
Namespace: GSF.TimeSeries.AdaptersAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.248-beta
Syntaxbool TryGetAdapterByID(
uint id,
out IAdapter adapter
)
Function TryGetAdapterByID (
id As UInteger,
<OutAttribute> ByRef adapter As IAdapter
) As Boolean
bool TryGetAdapterByID(
unsigned int id,
[OutAttribute] IAdapter^% adapter
)
abstract TryGetAdapterByID :
id : uint32 *
adapter : IAdapter byref -> bool
function TryGetAdapterByID(id, adapter);
Parameters
- id UInt32
- ID of adapter to get.
- adapter IAdapter
- Adapter reference if found; otherwise null.
Return Value
Booleantrue if adapter with the specified
id was found; otherwise
false.
See Also