ComponentSpace Country Picker Control Reference

Country Constructor (String, String, Boolean)

Initializes a new instance of the Country class with the specified country code and name. Also, indicate whether the country can be selected.

[Visual Basic]
Overloads Public Sub New( _
   ByVal code As String, _
   ByVal name As String, _
   ByVal selectable As Boolean _
)
[C#]
public Country(
   string code,
   string name,
   bool selectable
);

Parameters

code
The country code.
name
The name of the country.
selectable
true if the country can be selected; false if the country cannot be selected.

See Also

Country Class | ComponentSpace.CountryPicker Namespace | Country Constructor Overload List