Country Class
Specifies the various countries and associated data.
public class Country
- Inheritance:
- object object
Constructors
Country(string, string, string?)
Specifies the various countries and associated data.
public Country(string name, string alpha2Code, string? alpha3Code = null)
| Parameter | Type | Description |
|---|---|---|
| name | string | The name of the Country. |
| alpha2Code | string | The two-letter Country code. |
| alpha3Code | string | The three-letter Country code. |
Properties
Alpha2Code
The two-letter Country code.
Alpha3Code
The three-letter Country code.
Countries
The global collection of Country objects used by CountryComboBox.
public static DeferrableObservableCollection<Country> Countries { get; }
Property Value
Name
The name of the Country.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()