Version

Add Method (DisplayValueCollection)

Adds a display text value to the collection.
Syntax
public void Add( 
   string item
)

Parameters

item
The display text value to add to the collection.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionitem is null or empty.
System.ArgumentExceptionitem matches another value in the collection. Values are compared case-insensitively.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also