Edit

Share via


SentenceCache.TryGetTransducerData(String, TransducerDataSet) Method

Definition

Gets the last transducer data set (from an XDR sentence, see TransducerMeasurement) if one with the given name exists.

public bool TryGetTransducerData (string name, out Iot.Device.Nmea0183.Sentences.TransducerDataSet data);
member this.TryGetTransducerData : string * TransducerDataSet -> bool
Public Function TryGetTransducerData (name As String, ByRef data As TransducerDataSet) As Boolean

Parameters

name
String

The name of the data set. Case sensitive

data
TransducerDataSet

Returns the value if it exists

Returns

True if a value with the given name was found, false otherwise

Applies to