다음을 통해 공유


DataView.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 DataView class.

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

  • recordIndex

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

  • recordIndex

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

DataView Class | DataView Members | System.Data Namespace