TypeConverter::StandardValuesCollection::Item Property (Int32)

 

Gets the object at the specified index number.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
property Object^ default[
	int index
] {
	Object^ get(int index);
}

Parameters

index
Type: System::Int32

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

Property Value

Type: System::Object^

The Object with the specified index.

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].

.NET Framework
Available since 1.1
Return to top
Show: