ComponentSpace Country Picker Control Reference

CountryCollection.Add Method 

Add a country to the collection.

[Visual Basic]
Public Function Add( _
   ByVal country As Country _
) As Integer
[C#]
public int Add(
   Country country
);

Parameters

country
The country to add.

Return Value

The index of the country in the collection.

Exceptions

Exception Type Condition
CountryPickerException Thrown when the add fails.

See Also

CountryCollection Class | ComponentSpace.CountryPicker Namespace