EnumerableRowCollection Class

Definition

Represents a collection of DataRow objects returned from a LINQ to DataSet query. This API supports the .NET infrastructure and is not intended to be used directly from your code.

public ref class EnumerableRowCollection abstract : System::Collections::IEnumerable
public abstract class EnumerableRowCollection : System.Collections.IEnumerable
type EnumerableRowCollection = class
    interface IEnumerable
Public MustInherit Class EnumerableRowCollection
Implements IEnumerable
Inheritance
EnumerableRowCollection
Derived
Implements

Remarks

EnumerableRowCollection provides an entry point so that the cast operation can be intercepted within an extension method. The derived generic class EnumerableRowCollection<TRow> is actually used by .NET to contain the results of a query.

This class cannot be instantiated.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator for the collection of DataRow objects. This API supports the .NET infrastructure and is not intended to be used directly from your code.

Extension Methods

Cast<TResult>(EnumerableRowCollection)

This API supports the product infrastructure and is not intended to be used directly from your code.

Converts the elements of an EnumerableRowCollection to the specified type.

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

See also