Version

Item Property (DisplayValueCollection)

Gets or sets the display text value at the specified index.
Syntax
public string this[ 
   int index
]; {get; set;}

Parameters

index
The 0-based index of the value to get or set.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionindex is less than 0 or greater than or equal to Count.
System.ArgumentNullException The value assigned is null.
System.ArgumentException The value assigned 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