FamilyTypefaceCollection 类

定义

表示 FamilyTypeface 实例的集合。Represents a collection of FamilyTypeface instances.

public ref class FamilyTypefaceCollection sealed : System::Collections::Generic::ICollection<System::Windows::Media::FamilyTypeface ^>, System::Collections::Generic::IEnumerable<System::Windows::Media::FamilyTypeface ^>, System::Collections::Generic::IList<System::Windows::Media::FamilyTypeface ^>, System::Collections::IList
public sealed class FamilyTypefaceCollection : System.Collections.Generic.ICollection<System.Windows.Media.FamilyTypeface>, System.Collections.Generic.IEnumerable<System.Windows.Media.FamilyTypeface>, System.Collections.Generic.IList<System.Windows.Media.FamilyTypeface>, System.Collections.IList
type FamilyTypefaceCollection = class
    interface IList<FamilyTypeface>
    interface ICollection<FamilyTypeface>
    interface seq<FamilyTypeface>
    interface IEnumerable
    interface IList
    interface ICollection
Public NotInheritable Class FamilyTypefaceCollection
Implements ICollection(Of FamilyTypeface), IEnumerable(Of FamilyTypeface), IList, IList(Of FamilyTypeface)
继承
FamilyTypefaceCollection
实现

属性

Count

获取 FamilyTypeface 中的 FamilyTypefaceCollection 对象数。Gets the number of FamilyTypeface objects in the FamilyTypefaceCollection.

IsReadOnly

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

Item[Int32]

获取或设置 FamilyTypeface,它存储在 FamilyTypefaceCollection 的从零开始的索引处。Gets or sets the FamilyTypeface that is stored at the zero-based index of the FamilyTypefaceCollection.

方法

Add(FamilyTypeface)

将指定的 FamilyTypeface 对象插入集合中。Inserts the specified FamilyTypeface object into the collection.

Clear()

FamilyTypeface 中移除所有 FamilyTypefaceCollection 对象。Removes all FamilyTypeface objects from the FamilyTypefaceCollection.

Contains(FamilyTypeface)

确定集合是否包含指定的 FamilyTypefaceDetermines if the collection contains the specified FamilyTypeface.

CopyTo(FamilyTypeface[], Int32)

从指定的索引位置开始,将集合中的 FamilyTypeface 对象复制到 FamilyTypefaceCollection 数组中。Copies the FamilyTypeface objects in the collection into an array of FamilyTypefaceCollection, starting at the specified index position.

Equals(Object)

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

(继承自 Object)
GetEnumerator()

返回可循环访问集合的枚举数。Returns an enumerator that can iterate through the collection.

GetHashCode()

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

(继承自 Object)
GetType()

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

(继承自 Object)
IndexOf(FamilyTypeface)

返回指定的 FamilyTypeface 对象在集合中的索引。Returns the index of the specified FamilyTypeface object within the collection.

Insert(Int32, FamilyTypeface)

将指定 FamilyTypeface 对象插入到集合中的指定索引位置处。Inserts the specified FamilyTypeface object at the specified index position in the collection.

MemberwiseClone()

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

(继承自 Object)
Remove(FamilyTypeface)

从集合中移除指定的 FamilyTypeface 对象。Removes the specified FamilyTypeface object from the collection.

RemoveAt(Int32)

从集合中移除指定索引处的指定 FamilyTypeface 对象。Removes the specified FamilyTypeface object from the collection at the specified index.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

显式界面实现

ICollection.CopyTo(Array, Int32)

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

ICollection.IsSynchronized

有关此成员的说明,请参见 IsSynchronizedFor a description of this member, see IsSynchronized.

ICollection.SyncRoot

有关此成员的说明,请参见 SyncRootFor a description of this member, see SyncRoot.

IEnumerable.GetEnumerator()

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

IList.Add(Object)

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

IList.Contains(Object)

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

IList.IndexOf(Object)

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

IList.Insert(Int32, Object)

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

IList.IsFixedSize

有关此成员的说明,请参见 IsFixedSizeFor a description of this member, see IsFixedSize.

IList.Item[Int32]

有关此成员的说明,请参见 Item[Int32]For a description of this member, see Item[Int32].

IList.Remove(Object)

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

扩展方法

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)

在给定其泛型参数 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)

在给定其泛型参数 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)

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

OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable)

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

AsQueryable(IEnumerable)

IEnumerable 转换为 IQueryableConverts an IEnumerable to an IQueryable.

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)

返回经过筛选的元素集合,其中包含源集合中每个节点的上级。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>)

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

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)

返回经过筛选的元素集合,其中包含源集合中每个元素和文档的子代元素。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>)

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

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>)

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

Nodes<T>(IEnumerable<T>)

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

Remove<T>(IEnumerable<T>)

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

适用于