Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
System.Collections.IList.Item Property

Control.ControlCollection.System.Collections.IList.Item Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[Visual Basic]
Private Default Property Item( _
   ByVal index As Integer _
) As Object Implements IList.Item
[C#]
object IList.this[
   int index
] {get; set;}
[C++]
private: __property Object* System::Collections::IList::get_Item(
 int index
);
private: __property void System::Collections::IList::set_Item(
 int index,
   Object*
);
[JScript]
private function get IList.get_Item(index : int) : Object;
private function set IList.set_Item(index : int, value : Object);
-or-
private function get IList.get_Item(index : int) : Object;
private function set IList.set_Item(index : int, value : Object);

[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.

See Also

Control.ControlCollection Class | Control.ControlCollection Members | System.Windows.Forms Namespace

Show:
© 2015 Microsoft