Returns a standard description of an airport.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static string Airport(
Airport airport,
bool preferIataAirportCode,
bool showCode = true,
bool showName = true,
bool showCountry = true
)
Public Shared Function Airport (
airport As Airport,
preferIataAirportCode As Boolean,
Optional showCode As Boolean = true,
Optional showName As Boolean = true,
Optional showCountry As Boolean = true
) As String
public:
static String^ Airport(
Airport^ airport,
bool preferIataAirportCode,
bool showCode = true,
bool showName = true,
bool showCountry = true
)
static member Airport :
airport : Airport *
preferIataAirportCode : bool *
?showCode : bool *
?showName : bool *
?showCountry : bool
(* Defaults:
let _showCode = defaultArg showCode true
let _showName = defaultArg showName true
let _showCountry = defaultArg showCountry true
*)
-> string
Parameters
- airport
- Type: VirtualRadar.Interface.StandingDataAirport
- preferIataAirportCode
- Type: SystemBoolean
- showCode (Optional)
- Type: SystemBoolean
- showName (Optional)
- Type: SystemBoolean
- showCountry (Optional)
- Type: SystemBoolean
Return Value
Type:
StringSee Also