Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Components.CountryISO3166.Id3ToCountry Method

Converts an ISO 3166 three character ID into a country name.

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

Syntax

public static string Id3ToCountry(
    string id,
    bool AllowMismatch = false );

Parameters

id

The three character ID.

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