TalkerSentence.TryGetTypedValue(DateTimeOffset) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares sentence identifier with all known identifiers. If found returns typed object corresponding to the identifier. If not found returns a raw sentence instead. Also returns a raw sentence on a parser error (e.g. invalid date/time field)
public Iot.Device.Nmea0183.Sentences.NmeaSentence? TryGetTypedValue (ref DateTimeOffset lastMessageTime);
member this.TryGetTypedValue : DateTimeOffset -> Iot.Device.Nmea0183.Sentences.NmeaSentence
Public Function TryGetTypedValue (ByRef lastMessageTime As DateTimeOffset) As NmeaSentence
Parameters
- lastMessageTime
- DateTimeOffset
The date/time the last packet was seen. Used to time-tag packets that do not provide their own time or only a time but not a date
Returns
Object corresponding to the identifier
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for