ClockCollection ClockCollection ClockCollection ClockCollection Class

定义

表示 Clock 对象的有序集合。Represents an ordered collection of Clock objects.

public ref class ClockCollection : System::Collections::Generic::ICollection<System::Windows::Media::Animation::Clock ^>, System::Collections::Generic::IEnumerable<System::Windows::Media::Animation::Clock ^>
public class ClockCollection : System.Collections.Generic.ICollection<System.Windows.Media.Animation.Clock>, System.Collections.Generic.IEnumerable<System.Windows.Media.Animation.Clock>
type ClockCollection = class
    interface ICollection<Clock>
    interface seq<Clock>
    interface IEnumerable
Public Class ClockCollection
Implements ICollection(Of Clock), IEnumerable(Of Clock)
继承
ClockCollectionClockCollectionClockCollectionClockCollection
实现

属性

Count Count Count Count

获取此 ClockCollection 中包含的项的数量。Gets the number of items contained in this ClockCollection.

IsReadOnly IsReadOnly IsReadOnly IsReadOnly

获取一个值,该值指示 ClockCollection 是否为只读。Gets a value indicating whether the ClockCollection is read-only.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

获取指定索引位置处的 ClockGets the Clock at the specified index position.

方法

Add(Clock) Add(Clock) Add(Clock) Add(Clock)

将一个新的 Clock 对象添加到此 ClockCollection 的末尾。Adds a new Clock object to the end of this ClockCollection.

Clear() Clear() Clear() Clear()

移除此 ClockCollection 中的所有项。Removes all items from this ClockCollection.

Contains(Clock) Contains(Clock) Contains(Clock) Contains(Clock)

指示 ClockCollection 是否包含指定的 Clock 对象。Indicates whether the ClockCollection contains the specified Clock object.

CopyTo(Clock[], Int32) CopyTo(Clock[], Int32) CopyTo(Clock[], Int32) CopyTo(Clock[], Int32)

从指定的索引位置开始,将此 Clock 中的 ClockCollection 对象复制到 Clock 数组中。Copies the Clock objects of this ClockCollection to an array of Clocks, starting at the specified index position.

Equals(ClockCollection, ClockCollection) Equals(ClockCollection, ClockCollection) Equals(ClockCollection, ClockCollection) Equals(ClockCollection, ClockCollection)

指示两个指定的 ClockCollection 集合是否相等。Indicates whether the two specified ClockCollection collections are equal.

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

指示此实例是否与指定的对象相等。Indicates whether this instance is equal to the specified object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

返回表示此实例的 32 位带符号整数哈希代码。Returns a 32-bit signed integer hash code representing this instance.

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)
Remove(Clock) Remove(Clock) Remove(Clock) Remove(Clock)

Clock 中移除指定的 ClockCollectionRemoves the specified Clock from the ClockCollection.

ToString() ToString() ToString() ToString()

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

(Inherited from Object)

操作员

Equality(ClockCollection, ClockCollection) Equality(ClockCollection, ClockCollection) Equality(ClockCollection, ClockCollection) Equality(ClockCollection, ClockCollection)

一个重载运算符,用来比较两个 ClockCollection 集合是否相等。Overloaded operator that compares two ClockCollection collections for equality.

Inequality(ClockCollection, ClockCollection) Inequality(ClockCollection, ClockCollection) Inequality(ClockCollection, ClockCollection) Inequality(ClockCollection, ClockCollection)

一个重载运算符,用来比较两个 ClockCollection 集合是否不相等。Overloaded operator that compares two ClockCollection collections for inequality.

显式界面实现

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

有关此成员的说明,请参见 GetEnumerator()For a description of this member, see GetEnumerator().

IEnumerable<Clock>.GetEnumerator() IEnumerable<Clock>.GetEnumerator() IEnumerable<Clock>.GetEnumerator() IEnumerable<Clock>.GetEnumerator()

有关此成员的说明,请参见 GetEnumerator()For a description of this member, see GetEnumerator().

扩展方法

CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>)

在给定其泛型参数 TDataTable 的输入 DataRow 对象的情况下,返回包含 IEnumerable<T> 对象副本的 DataRowReturns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

在给定其泛型参数 TDataRow 的输入 DataTable 对象的情况下,将 IEnumerable<T> 对象复制到指定的 DataRowCopies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

在给定其泛型参数 TDataRow 的输入 DataTable 对象的情况下,将 IEnumerable<T> 对象复制到指定的 DataRowCopies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

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.

Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>)

返回元素集合,其中包含源集合中每个节点的上级。Returns a collection of elements that contains the ancestors of every node in the source collection.

Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName)

返回经过筛选的元素集合,其中包含源集合中每个节点的上级。Returns a filtered collection of elements that contains the ancestors of every node in the source collection. 集合中仅包括具有匹配 XName 的元素。Only elements that have a matching XName are included in the collection.

DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>)

返回源集合中每个文档和元素的子代节点的集合。Returns a collection of the descendant nodes of every document and element in the source collection.

Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>)

返回元素集合,其中包含源集合中每个元素和文档的子代元素。Returns a collection of elements that contains the descendant elements of every element and document in the source collection.

Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName)

返回经过筛选的元素集合,其中包含源集合中每个元素和文档的子代元素。Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. 集合中仅包括具有匹配 XName 的元素。Only elements that have a matching XName are included in the collection.

Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>)

返回源集合中每个元素和文档的子元素的集合。Returns a collection of the child elements of every element and document in the source collection.

Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName)

返回源集合中经过筛选的每个元素和文档的子元素集合。Returns a filtered collection of the child elements of every element and document in the source collection. 集合中仅包括具有匹配 XName 的元素。Only elements that have a matching XName are included in the collection.

InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>)

返回节点集合(其中包含源集合中的所有节点),并按文档顺序排列。Returns a collection of nodes that contains all nodes in the source collection, sorted in document order.

Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>)

返回源集合中每个文档和元素的子节点集合。Returns a collection of the child nodes of every document and element in the source collection.

Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>)

将源集合中的每个节点从其父节点中移除。Removes every node in the source collection from its parent node.

适用于