TypeConverter.StandardValuesCollection.Item[Int32] Property

Definition

Gets the object at the specified index number.

public:
 property System::Object ^ default[int] { System::Object ^ get(int index); };
public object this[int index] { get; }
public object? this[int index] { get; }
member this.Item(int) : obj
Default Public ReadOnly Property Item(index As Integer) As Object

Parameters

index
Int32

The zero-based index of the Object to get from the collection.

Property Value

The Object with the specified index.

Remarks

The index number is zero-based. Therefore, you must subtract one from the numerical position of a particular Object to access that Object. For example, to get the third Object, you need to specify myColl[2].

Applies to

See also