NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataRowView.Item

Gets or sets a specified DataRowView.

[C#] In C#, this member is the indexer for the DataRowView class.

[Visual Basic]
Overridable Public Default Property Item( _
   ByVal property As String _
) As Object
[C#]
public object this[
   string property
] {virtual get; virtual set;}
[C++]
public: __property virtual Object* get_Item(
   String* property
);
public: __property virtual void set_Item(
   String* property,
   Object*
);
[JScript]
returnValue = DataRowViewObject.Item(property);
DataRowViewObject.Item(property) = returnValue;
-or-
returnValue = DataRowViewObject(property);
DataRowViewObject(property) = returnValue;

[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 Item property whose type is Object and whose index type is String.

Arguments [JScript]

property
A value to be found in the desired DataRowView.

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

property
A value to be found in the desired DataRowView.

Property Value

A DataRowView, typed as Object.

See Also

DataRowView Class | DataRowView Members | System.Data Namespace