Edit

Share via


AisManager.TryGetTarget(UInt32, AisTarget) Method

Definition

Tries to retrieve the target with the given MMSI from the database

public bool TryGetTarget (uint mmsi, out Iot.Device.Nmea0183.Ais.AisTarget target);
member this.TryGetTarget : uint32 * AisTarget -> bool
Public Function TryGetTarget (mmsi As UInteger, ByRef target As AisTarget) As Boolean

Parameters

mmsi
UInt32

MMSI to query

target
AisTarget

Returns the given target, if found. The target should be cast to a more concrete type

Returns

True if the target was found, false otherwise

Applies to