다음을 통해 공유


ListView.SelectedIndexCollection.System.Collections.IList.Item Property

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

[C#] In C#, this property is the indexer for the ListView.SelectedIndexCollection class.

Private Default Property Item( _
   ByVal index As Integer _) As Object Implements IList.Item
[C#]
object IList.this[
   intindex] {get; set;}
[C++]
private: __property Object* System::Collections::IList::get_Item(intindex);private: __property void System::Collections::IList::set_Item(intindex,   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.

Arguments [JScript]

  • index

Parameters [Visual Basic, C#, C++]

  • index

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ListView.SelectedIndexCollection Class | ListView.SelectedIndexCollection Members | System.Windows.Forms Namespace