|
IAdapterCollectionTryGetAdapterByName Method
|
Attempts to get the adapter with the specified name.
Namespace: GSF.TimeSeries.AdaptersAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.248-beta
Syntaxbool TryGetAdapterByName(
string name,
out IAdapter adapter
)
Function TryGetAdapterByName (
name As String,
<OutAttribute> ByRef adapter As IAdapter
) As Boolean
bool TryGetAdapterByName(
String^ name,
[OutAttribute] IAdapter^% adapter
)
abstract TryGetAdapterByName :
name : string *
adapter : IAdapter byref -> bool
function TryGetAdapterByName(name, adapter);
Parameters
- name String
- Name of adapter to get.
- adapter IAdapter
- Adapter reference if found; otherwise null.
Return Value
Booleantrue if adapter with the specified
name was found; otherwise
false.
See Also