Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Components.CountryISO3166.NumberToCountry Method

Converts an ISO 3166 three digit number into a country name.

Class: YetaWF.Core.Components.CountryISO3166
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core

Syntax

public static string NumberToCountry(
    string number,
    bool AllowMismatch = false );

Parameters

number

The three digit number.

AllowMismatch

true to return a default value if the country doesn't exist, false otherwise (throws an error).

Return Value

Returns the country name.

See Also YetaWF.Core.Components.CountryISO3166 ClassYetaWF.Core Overview