DataView::FindRows Method (array<Object^>^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns an array of DataRowView objects whose columns match the specified sort key value.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

public:
array<DataRowView^>^ FindRows(
	array<Object^>^ key
)

Parameters

key
Type: array<System::Object^>^

An array of column values, typed as Object, to search for.

Return Value

Type: array<System.Data::DataRowView^>^

An array of DataRowView objects whose columns match the specified sort key value; or, if no rows contain the specified sort key values, an empty DataRowView array.

.NET Framework
Available since 1.1
Return to top
Show: