Click or drag to resize
IAircraftOnlineLookupCacheLoad Method
Fetches an aircraft's details from the cache.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
AircraftOnlineLookupDetail Load(
	string icao,
	BaseStationAircraft baseStationAircraft,
	bool searchedForBaseStationAircraft
)

Parameters

icao
Type: SystemString
The ICAO of the aircraft to lookup.
baseStationAircraft
Type: VirtualRadar.Interface.DatabaseBaseStationAircraft
If BaseStation.sqb has been searched for an aircraft then this is the record that was returned, otherwise it's null.
searchedForBaseStationAircraft
Type: SystemBoolean
True if baseStationAircraft is the result of a search on BaseStation.sqb, false if the caller didn't search BaseStation.sqb.

Return Value

Type: AircraftOnlineLookupDetail
Null if there are no details for the ICAO in the cache, otherwise returns the cached details.
See Also