Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft