Converts a country name to an ISO 3166 two character ID.
Class: YetaWF.Core.Components.CountryISO3166
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core
public static string CountryToId( string? country, bool AllowMismatch = false );
country
The country name.
AllowMismatch
true to return a default value if the country doesn't exist, false otherwise (throws an error).
Returns the two character country ID.
See Also YetaWF.Core.Components.CountryISO3166 ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com