EnumerableRowCollection EnumerableRowCollection EnumerableRowCollection EnumerableRowCollection Class

定义

表示从 LINQ to DataSet 查询返回的 DataRow 对象的集合。Represents a collection of DataRow objects returned from a LINQ to DataSet query. 此 API 支持 .NET Framework 基础结构,但不应在代码中直接使用。This API supports the .NET Framework 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
继承
EnumerableRowCollectionEnumerableRowCollectionEnumerableRowCollectionEnumerableRowCollection
派生
实现

注解

EnumerableRowCollection提供一个入口点, 以便可以在扩展方法中截获强制转换运算。EnumerableRowCollection provides an entry point so that the cast operation can be intercepted within an extension method. 派生的泛型类EnumerableRowCollection<TRow>实际上由 .NET Framework 用来包含查询的结果。The derived generic class EnumerableRowCollection<TRow> is actually used by the .NET Framework to contain the results of a query.

此类无法实例化。This class cannot be instantiated.

显式界面实现

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

返回 DataRow 对象集合的枚举数。Returns an enumerator for the collection of DataRow objects. 此 API 支持 .NET Framework 基础结构,但不应在代码中直接使用。This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

扩展方法

Cast<TResult>(EnumerableRowCollection) Cast<TResult>(EnumerableRowCollection) Cast<TResult>(EnumerableRowCollection) Cast<TResult>(EnumerableRowCollection)

EnumerableRowCollection 的元素转换为指定的类型。Converts the elements of an EnumerableRowCollection to the specified type.

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

IEnumerable 的元素强制转换为指定的类型。Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

根据指定类型筛选 IEnumerable 的元素。Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

启用查询的并行化。Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

IEnumerable 转换为 IQueryableConverts an IEnumerable to an IQueryable.

适用于

另请参阅