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

傳回代表目前物件的字串。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>)

根據輸入 DataTable 物件 (其中泛型參數 TDataRow) 傳回包含 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)

根據輸入 DataRow 物件 (其中泛型參數 TDataTable),將 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)

根據輸入 DataRow 物件 (其中泛型參數 TDataTable),將 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.

適用於