WorkflowRoleCollection 類別

定義

警告

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

表示 WorkflowRole 物件的集合。 此類別無法獲得繼承。

public ref class WorkflowRoleCollection sealed : System::Collections::Generic::List<System::Workflow::Activities::WorkflowRole ^>
[System.Serializable]
public sealed class WorkflowRoleCollection : System.Collections.Generic.List<System.Workflow.Activities.WorkflowRole>
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class WorkflowRoleCollection : System.Collections.Generic.List<System.Workflow.Activities.WorkflowRole>
[<System.Serializable>]
type WorkflowRoleCollection = class
    inherit List<WorkflowRole>
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowRoleCollection = class
    inherit List<WorkflowRole>
Public NotInheritable Class WorkflowRoleCollection
Inherits List(Of WorkflowRole)
繼承
WorkflowRoleCollection
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型

WorkflowRoleCollection 提供程式設計存取,以確認與 WorkflowRole 相關聯的身分識別是否已加入至 HandleExternalEventActivityWebServiceInputActivity

建構函式

WorkflowRoleCollection()
已淘汰.

初始化 WorkflowRoleCollection 類別的新執行個體。

屬性

Capacity
已淘汰.

在不需要調整大小之下,取得或設定內部資料結構可以保存的項目總數。

(繼承來源 List<T>)
Count
已淘汰.

取得 List<T> 中所包含的項目數。

(繼承來源 List<T>)
Item[Int32]
已淘汰.

在指定的索引位置上取得或設定項目。

(繼承來源 List<T>)

方法

Add(T)
已淘汰.

將物件加入至 List<T> 的末端。

(繼承來源 List<T>)
AddRange(IEnumerable<T>)
已淘汰.

將特定集合的項目加入至 List<T> 的結尾。

(繼承來源 List<T>)
AsReadOnly()
已淘汰.

傳回目前集合的唯讀 ReadOnlyCollection<T> 包裝函式。

(繼承來源 List<T>)
BinarySearch(Int32, Int32, T, IComparer<T>)
已淘汰.

使用指定的比較子在已經過排序之 List<T> 內,搜尋某範圍的項目,並傳回該項目以零為起始的索引。

(繼承來源 List<T>)
BinarySearch(T)
已淘汰.

使用預設的比較子並傳回項目以零為起始的索引,來搜尋項目之整個排序的 List<T>

(繼承來源 List<T>)
BinarySearch(T, IComparer<T>)
已淘汰.

使用指定的比較子並傳回項目以零為起始的索引,來搜尋項目之整個排序的 List<T>

(繼承來源 List<T>)
Clear()
已淘汰.

移除 List<T> 中的所有項目。

(繼承來源 List<T>)
Contains(T)
已淘汰.

判斷某項目是否在 List<T> 中。

(繼承來源 List<T>)
ConvertAll<TOutput>(Converter<T,TOutput>)
已淘汰.

將目前 List<T> 中的項目轉換成另一個類型,並傳回包含轉換過的項目清單。

(繼承來源 List<T>)
CopyTo(Int32, T[], Int32, Int32)
已淘汰.

從目標陣列的指定索引處開始,將項目範圍從 List<T> 複製到相容的一維陣列。

(繼承來源 List<T>)
CopyTo(T[])
已淘汰.

從目標陣列的開頭開始,將整個 List<T> 複製到相容的一維陣列。

(繼承來源 List<T>)
CopyTo(T[], Int32)
已淘汰.

從目標陣列的指定索引處開始,將整個 List<T> 複製到相容的一維陣列中。

(繼承來源 List<T>)
EnsureCapacity(Int32)
已淘汰.

確定此清單的容量至少為指定的 capacity。 如果目前的容量小於 capacity,則會增加至至少指定的 capacity

(繼承來源 List<T>)
Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
Exists(Predicate<T>)
已淘汰.

判斷 List<T> 是否包含符合指定之述詞所定義之條件的項目。

(繼承來源 List<T>)
Find(Predicate<T>)
已淘汰.

搜尋符合指定之述詞所定義的條件之項目,並傳回整個 List<T> 內第一個相符的項目。

(繼承來源 List<T>)
FindAll(Predicate<T>)
已淘汰.

擷取符合指定之述詞所定義的條件之所有項目。

(繼承來源 List<T>)
FindIndex(Int32, Int32, Predicate<T>)
已淘汰.

搜尋符合指定之述詞所定義的條件之項目,並傳回 List<T> 中從指定之索引開始,且包含指定之項目數目的項目範圍內第一個符合項目之以零為起始的索引。

(繼承來源 List<T>)
FindIndex(Int32, Predicate<T>)
已淘汰.

搜尋符合指定之述詞所定義的條件之項目,並傳回 List<T> 內 (從指定之索引延伸到最後一個項目),於某項目範圍中第一次出現之以零為起始的索引。

(繼承來源 List<T>)
FindIndex(Predicate<T>)
已淘汰.

搜尋符合指定之述詞所定義的條件之項目,並傳回整個 List<T> 內第一次出現之以零為起始的索引。

(繼承來源 List<T>)
FindLast(Predicate<T>)
已淘汰.

搜尋符合指定之述詞所定義的條件之項目,並傳回整個 List<T> 內最後一個相符的項目。

(繼承來源 List<T>)
FindLastIndex(Int32, Int32, Predicate<T>)
已淘汰.

搜尋符合指定之述詞所定義的條件之項目,並傳回 List<T> 中包含指定之項目數目,且結束於指定之索引的項目範圍內最後一個符合項目之以零為起始的索引。

(繼承來源 List<T>)
FindLastIndex(Int32, Predicate<T>)
已淘汰.

搜尋符合指定之述詞所定義的條件之項目,並傳回 List<T> 中從第一個項目延伸到指定之索引的項目範圍內,最後一個符合項目之以零為起始的索引。

(繼承來源 List<T>)
FindLastIndex(Predicate<T>)
已淘汰.

搜尋符合指定之述詞所定義的條件之項目,並傳回整個 List<T> 內最後一次出現之以為零起始的索引。

(繼承來源 List<T>)
ForEach(Action<T>)
已淘汰.

List<T> 的每一個項目上執行指定之動作。

(繼承來源 List<T>)
GetEnumerator()
已淘汰.

傳回在 List<T> 中逐一查看的列舉值。

(繼承來源 List<T>)
GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetRange(Int32, Int32)
已淘汰.

為來源 List<T> 中的項目範圍建立淺層複本。

(繼承來源 List<T>)
GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
IncludesIdentity(String)
已淘汰.

傳回值,指出 WorkflowRoleCollection 是否包含指定的身分識別。

IndexOf(T)
已淘汰.

搜尋指定的物件,並傳回整個 List<T> 中第一個出現之以零為起始的索引。

(繼承來源 List<T>)
IndexOf(T, Int32)
已淘汰.

List<T> 中從指定的索引開始到最後一個項目這段範圍內,搜尋指定的物件第一次出現的位置,並傳回其索引值 (索引以零為起始)。

(繼承來源 List<T>)
IndexOf(T, Int32, Int32)
已淘汰.

List<T> 中從指定索引開始且包含指定個數項目的範圍內,搜尋指定的物件第一次出現的位置,並傳回其索引值 (索引以零為起始)。

(繼承來源 List<T>)
Insert(Int32, T)
已淘汰.

將項目插入至 List<T> 中指定的索引位置。

(繼承來源 List<T>)
InsertRange(Int32, IEnumerable<T>)
已淘汰.

將集合的項目插入位於指定索引的 List<T> 中。

(繼承來源 List<T>)
LastIndexOf(T)
已淘汰.

搜尋指定的物件,並傳回整個 List<T> 中最後一個相符項目之以零為起始的索引。

(繼承來源 List<T>)
LastIndexOf(T, Int32)
已淘汰.

List<T> 中從第一個項目開始到指定的索引這段範圍內,搜尋指定的物件最後一次出現的位置,並傳回其索引值 (索引以零為起始)。

(繼承來源 List<T>)
LastIndexOf(T, Int32, Int32)
已淘汰.

List<T> 中包含指定個數項目且結尾位於指定索引的範圍內,搜尋指定的物件最後一次出現的位置,並傳回其索引值 (索引以零為起始)。

(繼承來源 List<T>)
MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
Remove(T)
已淘汰.

List<T> 移除特定物件之第一個符合的元素。

(繼承來源 List<T>)
RemoveAll(Predicate<T>)
已淘汰.

移除符合指定的述詞所定義之條件的所有項目。

(繼承來源 List<T>)
RemoveAt(Int32)
已淘汰.

移除 List<T> 之指定索引處的項目。

(繼承來源 List<T>)
RemoveRange(Int32, Int32)
已淘汰.

List<T> 移除的項目範圍。

(繼承來源 List<T>)
Reverse()
已淘汰.

反轉整個 List<T> 中項目的順序。

(繼承來源 List<T>)
Reverse(Int32, Int32)
已淘汰.

反向指定範圍中項目的順序。

(繼承來源 List<T>)
Slice(Int32, Int32)
已淘汰.

為來源 List<T> 中的項目範圍建立淺層複本。

(繼承來源 List<T>)
Sort()
已淘汰.

使用預設的比較子來排序在整個 List<T> 中的項目。

(繼承來源 List<T>)
Sort(Comparison<T>)
已淘汰.

使用指定的 Comparison<T> 來排序在整個 List<T> 中的項目。

(繼承來源 List<T>)
Sort(IComparer<T>)
已淘汰.

使用指定的比較子來排序在整個 List<T> 中的項目。

(繼承來源 List<T>)
Sort(Int32, Int32, IComparer<T>)
已淘汰.

使用指定的比較子對 List<T> 中某段範圍內的項目進行排序。

(繼承來源 List<T>)
ToArray()
已淘汰.

List<T> 的項目複製到新的陣列。

(繼承來源 List<T>)
ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)
TrimExcess()
已淘汰.

將容量設為 List<T> 中項目的實際數目,如果該數目小於臨界值。

(繼承來源 List<T>)
TrueForAll(Predicate<T>)
已淘汰.

判斷 List<T> 中的每一個項目是否符合指定之述詞所定義的條件。

(繼承來源 List<T>)

明確介面實作

ICollection.CopyTo(Array, Int32)
已淘汰.

從特定的 ICollection 索引開始,將 Array 的項目複製到 Array

(繼承來源 List<T>)
ICollection.IsSynchronized
已淘汰.

取得值,這個值表示對 ICollection 的存取是否同步 (安全執行緒)。

(繼承來源 List<T>)
ICollection.SyncRoot
已淘汰.

取得可用以同步存取 ICollection 的物件。

(繼承來源 List<T>)
ICollection<T>.IsReadOnly
已淘汰.

取得值,指出 ICollection<T> 是否唯讀。

(繼承來源 List<T>)
IEnumerable.GetEnumerator()
已淘汰.

傳回逐一查看集合的列舉值。

(繼承來源 List<T>)
IEnumerable<T>.GetEnumerator()
已淘汰.

傳回逐一查看集合的列舉值。

(繼承來源 List<T>)
IList.Add(Object)
已淘汰.

將項目加入至 IList

(繼承來源 List<T>)
IList.Contains(Object)
已淘汰.

判斷 IList 是否包含特定值。

(繼承來源 List<T>)
IList.IndexOf(Object)
已淘汰.

判斷 IList 中指定項目的索引。

(繼承來源 List<T>)
IList.Insert(Int32, Object)
已淘汰.

將項目插入位於指定索引的 IList

(繼承來源 List<T>)
IList.IsFixedSize
已淘汰.

取得值,指出 IList 是否有固定的大小。

(繼承來源 List<T>)
IList.IsReadOnly
已淘汰.

取得值,指出 IList 是否唯讀。

(繼承來源 List<T>)
IList.Item[Int32]
已淘汰.

在指定的索引位置上取得或設定項目。

(繼承來源 List<T>)
IList.Remove(Object)
已淘汰.

IList 移除特定物件之第一個符合的元素。

(繼承來源 List<T>)

擴充方法

CopyToDataTable<T>(IEnumerable<T>)
已淘汰.

根據輸入 DataTable 物件 (其中泛型參數 TDataRow) 傳回包含 IEnumerable<T> 物件複本的 DataRow

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)
已淘汰.

根據輸入 DataRow 物件 (其中泛型參數 TDataTable),將 IEnumerable<T> 物件複製到指定的 DataRow

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)
已淘汰.

根據輸入 DataRow 物件 (其中泛型參數 TDataTable),將 IEnumerable<T> 物件複製到指定的 DataRow

Aggregate<TSource>(IEnumerable<TSource>, Func<TSource,TSource,TSource>)
已淘汰.

將累加函式套用到序列上。

Aggregate<TSource,TAccumulate>(IEnumerable<TSource>, TAccumulate, Func<TAccumulate,TSource,TAccumulate>)
已淘汰.

將累加函式套用到序列上。 使用指定的初始值做為初始累加值。

Aggregate<TSource,TAccumulate,TResult>(IEnumerable<TSource>, TAccumulate, Func<TAccumulate,TSource,TAccumulate>, Func<TAccumulate,TResult>)
已淘汰.

將累加函式套用到序列上。 使用指定的值做為初始累加值,並使用指定的函式來選取結果值。

All<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已淘汰.

判斷序列的所有項目是否全都符合條件。

Any<TSource>(IEnumerable<TSource>)
已淘汰.

判斷序列是否包含任何項目。

Any<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已淘汰.

判斷序列的任何項目是否符合條件。

Append<TSource>(IEnumerable<TSource>, TSource)
已淘汰.

將值附加在序列結尾。

AsEnumerable<TSource>(IEnumerable<TSource>)
已淘汰.

傳回 IEnumerable<T> 類型的輸入。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得之 Decimal 值序列的平均值。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Double>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得之 Double 值序列的平均值。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Int32>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得之 Int32 值序列的平均值。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Int64>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得之 Int64 值序列的平均值。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Decimal 值的平均值。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Double 值的平均值。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Int32 值的平均值。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Int64 值的平均值。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Single 值的平均值。

Average<TSource>(IEnumerable<TSource>, Func<TSource,Single>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得之 Single 值序列的平均值。

Cast<TResult>(IEnumerable)
已淘汰.

IEnumerable 的項目轉換成指定的型別。

Concat<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
已淘汰.

串連兩個序列。

Contains<TSource>(IEnumerable<TSource>, TSource)
已淘汰.

使用預設的相等比較子 (Comparer) 來判斷序列是否包含指定的項目。

Contains<TSource>(IEnumerable<TSource>, TSource, IEqualityComparer<TSource>)
已淘汰.

使用指定的 IEqualityComparer<T> 來判斷序列是否包含指定的項目。

Count<TSource>(IEnumerable<TSource>)
已淘汰.

傳回序列中的項目數。

Count<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已淘汰.

傳回數字,代表指定之序列中符合條件的項目數目。

DefaultIfEmpty<TSource>(IEnumerable<TSource>)
已淘汰.

傳回指定之序列的項目;如果序列是空的,則傳回單一集合中型別參數的預設值。

DefaultIfEmpty<TSource>(IEnumerable<TSource>, TSource)
已淘汰.

傳回指定之序列的項目;如果序列是空的,則傳回單一集合中型別參數的預設值。

Distinct<TSource>(IEnumerable<TSource>)
已淘汰.

使用預設的相等比較子來比較值,以便從序列傳回獨特的項目。

Distinct<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)
已淘汰.

使用指定的 IEqualityComparer<T> 來比較值,以便從序列傳回獨特的項目。

ElementAt<TSource>(IEnumerable<TSource>, Int32)
已淘汰.

傳回位於序列中指定索引處的項目。

ElementAtOrDefault<TSource>(IEnumerable<TSource>, Int32)
已淘汰.

傳回位於序列中指定索引處的元素;如果索引超出範圍,則傳回預設值。

Except<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
已淘汰.

使用預設相等比較子來比較值,以便產生兩個序列的差異。

Except<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)
已淘汰.

使用指定的 IEqualityComparer<T> 來比較值,以便產生兩個序列的差異。

First<TSource>(IEnumerable<TSource>)
已淘汰.

傳回序列的第一個項目。

First<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已淘汰.

傳回序列中符合指定條件的第一個元素。

FirstOrDefault<TSource>(IEnumerable<TSource>)
已淘汰.

傳回序列的第一個元素;如果序列中沒有包含任何元素,則傳回預設值。

FirstOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已淘汰.

傳回序列中符合條件的第一個元素;如果找不到這類元素,則傳回預設值。

GroupBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
已淘汰.

依據指定的索引鍵選擇器函式來群組序列的項目。

GroupBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
已淘汰.

依據指定的索引鍵選取器函式來群組序列的項目,並使用指定的比較子來比較索引鍵。

GroupBy<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>)
已淘汰.

依據指定的索引鍵選取器函式來群組序列的項目,並使用指定的函式來投影每個群組的項目。

GroupBy<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)
已淘汰.

依據索引鍵選取器函式來群組序列中的項目。 索引鍵是使用比較子來進行比較,而每個群組的項目都是利用指定的函式進行投影。

GroupBy<TSource,TKey,TResult>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TKey,IEnumerable<TSource>,TResult>)
已淘汰.

依據指定的索引鍵選取器函式來群組序列的項目,並從每個群組及其索引鍵建立結果值。

GroupBy<TSource,TKey,TResult>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TKey,IEnumerable<TSource>,TResult>, IEqualityComparer<TKey>)
已淘汰.

依據指定的索引鍵選取器函式來群組序列的項目,並從每個群組及其索引鍵建立結果值。 索引鍵是使用指定的比較子來進行比較。

GroupBy<TSource,TKey,TElement,TResult>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, Func<TKey,IEnumerable<TElement>,TResult>)
已淘汰.

依據指定的索引鍵選取器函式來群組序列的項目,並從每個群組及其索引鍵建立結果值。 每個群組的項目都是利用指定的函式進行投影。

GroupBy<TSource,TKey,TElement,TResult>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource,TElement>, Func<TKey,IEnumerable<TElement>, TResult>, IEqualityComparer<TKey>)
已淘汰.

依據指定的索引鍵選取器函式來群組序列的項目,並從每個群組及其索引鍵建立結果值。 索引鍵值是使用指定的比較子來進行比較,而每個群組的項目則都是利用指定的函式進行投影。

GroupJoin<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>, TResult>)
已淘汰.

根據索引鍵相等與否,將兩個序列的項目相互關聯,並群組產生的結果。 預設的相等比較子是用於比較索引鍵。

GroupJoin<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>, TResult>, IEqualityComparer<TKey>)
已淘汰.

根據索引鍵相等與否,將兩個序列的項目相互關聯,並群組產生的結果。 指定的 IEqualityComparer<T> 是用於比較索引鍵。

Intersect<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
已淘汰.

使用預設相等比較子來比較值,以便產生兩個序列的交集。

Intersect<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)
已淘汰.

使用指定的 IEqualityComparer<T> 來比較值,以便產生兩個序列的交集。

Join<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,TInner,TResult>)
已淘汰.

根據相符索引鍵,將兩個序列的項目相互關聯。 預設的相等比較子是用於比較索引鍵。

Join<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,TInner,TResult>, IEqualityComparer<TKey>)
已淘汰.

根據相符索引鍵,將兩個序列的項目相互關聯。 指定的 IEqualityComparer<T> 是用於比較索引鍵。

Last<TSource>(IEnumerable<TSource>)
已淘汰.

傳回序列的最後一個項目。

Last<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已淘汰.

傳回序列中符合指定之條件的最後一個元素。

LastOrDefault<TSource>(IEnumerable<TSource>)
已淘汰.

傳回序列的最後一個元素;如果序列中沒有包含任何元素,則傳回預設值。

LastOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已淘汰.

傳回序列中符合條件的最後一個元素;如果找不到這類元素,則傳回預設值。

LongCount<TSource>(IEnumerable<TSource>)
已淘汰.

傳回代表序列中項目總數的 Int64

LongCount<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已淘汰.

傳回 Int64,其代表序列中符合條件的項目數目。

Max<TSource>(IEnumerable<TSource>)
已淘汰.

傳回泛型序列中的最大值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最大的 Decimal 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Double>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最大的 Double 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Int32>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最大的 Int32 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Int64>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最大的 Int64 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最大的可為 Null 之 Decimal 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最大的可為 Null 之 Double 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最大的可為 Null 之 Int32 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最大的可為 Null 之 Int64 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最大的可為 Null 之 Single 值。

Max<TSource>(IEnumerable<TSource>, Func<TSource,Single>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最大的 Single 值。

Max<TSource,TResult>(IEnumerable<TSource>, Func<TSource,TResult>)
已淘汰.

在泛型序列的每個項目上叫用轉換函式,並傳回最大的結果值。

Min<TSource>(IEnumerable<TSource>)
已淘汰.

傳回泛型序列中的最小值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最小的 Decimal 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Double>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最小的 Double 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Int32>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最小的 Int32 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Int64>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最小的 Int64 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最小的可為 Null 之 Decimal 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最小的可為 Null 之 Double 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最小的可為 Null 之 Int32 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最小的可為 Null 之 Int64 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最小的可為 Null 之 Single 值。

Min<TSource>(IEnumerable<TSource>, Func<TSource,Single>)
已淘汰.

在序列的每個項目上叫用轉換函式,並傳回最小的 Single 值。

Min<TSource,TResult>(IEnumerable<TSource>, Func<TSource,TResult>)
已淘汰.

在泛型序列的每個項目上叫用轉換函式,並傳回最小的結果值。

OfType<TResult>(IEnumerable)
已淘汰.

根據指定的型別來篩選 IEnumerable 的項目。

OrderBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
已淘汰.

依據索引鍵,按遞增順序排序序列中的項目。

OrderBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IComparer<TKey>)
已淘汰.

使用指定的比較子,依遞增順序排序序列中的項目。

OrderByDescending<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
已淘汰.

依據索引鍵,按遞減順序排序序列中的項目。

OrderByDescending<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IComparer<TKey>)
已淘汰.

使用指定的比較子,依遞減順序排序序列中的項目。

Prepend<TSource>(IEnumerable<TSource>, TSource)
已淘汰.

將值新增至序列的開頭。

Reverse<TSource>(IEnumerable<TSource>)
已淘汰.

反轉序列中項目的排序方向。

Select<TSource,TResult>(IEnumerable<TSource>, Func<TSource,TResult>)
已淘汰.

將序列的每個元素規劃成一個新的表單。

Select<TSource,TResult>(IEnumerable<TSource>, Func<TSource,Int32,TResult>)
已淘汰.

透過加入項目的索引,將序列的每個項目投影成新的表單。

SelectMany<TSource,TResult>(IEnumerable<TSource>, Func<TSource,IEnumerable<TResult>>)
已淘汰.

將序列的每個項目都投影成 IEnumerable<T>,並將產生的序列簡化成單一序列。

SelectMany<TSource,TResult>(IEnumerable<TSource>, Func<TSource,Int32,IEnumerable<TResult>>)
已淘汰.

將序列的每個項目都投影成 IEnumerable<T>,並將產生的序列簡化成單一序列。 各來源項目的索引是在該項目的投影表單中使用。

SelectMany<TSource,TCollection,TResult>(IEnumerable<TSource>, Func<TSource,IEnumerable<TCollection>>, Func<TSource,TCollection,TResult>)
已淘汰.

將序列的每個項目投影為 IEnumerable<T>、將產生的序列簡化成單一序列,並對其中的每個項目叫用結果選取器函式。

SelectMany<TSource,TCollection,TResult>(IEnumerable<TSource>, Func<TSource,Int32,IEnumerable<TCollection>>, Func<TSource,TCollection,TResult>)
已淘汰.

將序列的每個項目投影為 IEnumerable<T>、將產生的序列簡化成單一序列,並對其中的每個項目叫用結果選取器函式。 各來源項目的索引是在該項目的中繼投影表單中使用。

SequenceEqual<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
已淘汰.

使用項目之型別的預設相等比較子來比較項目,以判斷兩個序列是否相等。

SequenceEqual<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)
已淘汰.

使用指定的 IEqualityComparer<T> 來比較項目,以判斷兩個序列是否相等。

Single<TSource>(IEnumerable<TSource>)
已淘汰.

傳回序列的唯一一個元素,如果序列中不是正好一個元素,則擲回例外狀況。

Single<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已淘汰.

傳回序列中符合指定之條件的唯一一個元素,如果有一個以上這類元素,則擲回例外狀況。

SingleOrDefault<TSource>(IEnumerable<TSource>)
已淘汰.

傳回序列的唯一一個項目,如果序列是空白,則為預設值,如果序列中有一個以上的項目,這個方法就會擲回例外狀況。

SingleOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已淘汰.

傳回序列中符合指定之條件的唯一一個元素,如果沒有這類元素,則為預設值,如果有一個以上的元素符合條件,這個方法就會擲回例外狀況。

Skip<TSource>(IEnumerable<TSource>, Int32)
已淘汰.

略過序列中指定的項目數目,然後傳回其餘項目。

SkipWhile<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已淘汰.

只要指定的條件為 true,便略過序列中的項目,然後傳回其餘項目。

SkipWhile<TSource>(IEnumerable<TSource>, Func<TSource,Int32,Boolean>)
已淘汰.

只要指定的條件為 true,便略過序列中的項目,然後傳回其餘項目。 項目的索引是用於述詞功能的邏輯中。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得之 Decimal 值序列的總和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Double>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得之 Double 值序列的總和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Int32>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得之 Int32 值序列的總和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Int64>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得之 Int64 值序列的總和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Decimal 值的總和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Double 值的總和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Int32 值的總和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Int64 值的總和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Single 值的總和。

Sum<TSource>(IEnumerable<TSource>, Func<TSource,Single>)
已淘汰.

計算在輸入序列中各項目上叫用轉換函式後所取得之 Single 值序列的總和。

Take<TSource>(IEnumerable<TSource>, Int32)
已淘汰.

從序列開頭傳回指定的連續項目數目。

TakeWhile<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已淘汰.

只要指定的條件為 true,就會傳回序列中的項目。

TakeWhile<TSource>(IEnumerable<TSource>, Func<TSource,Int32,Boolean>)
已淘汰.

只要指定的條件為 true,就會傳回序列中的項目。 項目的索引是用於述詞功能的邏輯中。

ToArray<TSource>(IEnumerable<TSource>)
已淘汰.

IEnumerable<T> 建立陣列。

ToDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
已淘汰.

根據指定的索引鍵選擇器函式,從 Dictionary<TKey,TValue> 建立 IEnumerable<T>

ToDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
已淘汰.

根據指定的索引鍵選取器函式和索引鍵比較子,從 Dictionary<TKey,TValue> 建立 IEnumerable<T>

ToDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>)
已淘汰.

根據指定的索引鍵選取器和項目選取器函式,從 Dictionary<TKey,TValue> 建立 IEnumerable<T>

ToDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)
已淘汰.

根據指定的索引鍵選取器函式、比較子和項目選取器函式,從 Dictionary<TKey,TValue> 建立 IEnumerable<T>

ToHashSet<TSource>(IEnumerable<TSource>)
已淘汰.

IEnumerable<T> 建立 HashSet<T>

ToHashSet<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)
已淘汰.

使用比較金鑰的 comparerIEnumerable<T> 建立 HashSet<T>

ToList<TSource>(IEnumerable<TSource>)
已淘汰.

IEnumerable<T> 建立 List<T>

ToLookup<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
已淘汰.

根據指定的索引鍵選擇器函式,從 Lookup<TKey,TElement> 建立 IEnumerable<T>

ToLookup<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
已淘汰.

根據指定的索引鍵選取器函式和索引鍵比較子,從 Lookup<TKey,TElement> 建立 IEnumerable<T>

ToLookup<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>)
已淘汰.

根據指定的索引鍵選取器和項目選取器函式,從 Lookup<TKey,TElement> 建立 IEnumerable<T>

ToLookup<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)
已淘汰.

根據指定的索引鍵選取器函式、比較子和項目選取器函式,從 Lookup<TKey,TElement> 建立 IEnumerable<T>

Union<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
已淘汰.

使用預設相等比較值來比較值,以便產生兩個序列的集合等位。

Union<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)
已淘汰.

使用指定的 IEqualityComparer<T> 產生兩個序列的集合等位。

Where<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
已淘汰.

根據述詞來篩選值序列。

Where<TSource>(IEnumerable<TSource>, Func<TSource,Int32,Boolean>)
已淘汰.

根據述詞來篩選值序列。 述詞函式的邏輯中使用各項目的索引。

Zip<TFirst,TSecond,TResult>(IEnumerable<TFirst>, IEnumerable<TSecond>, Func<TFirst,TSecond,TResult>)
已淘汰.

將指定的函式套用至兩個序列的對應項目,產生結果的序列。

AsParallel(IEnumerable)
已淘汰.

啟用查詢的平行化作業。

AsParallel<TSource>(IEnumerable<TSource>)
已淘汰.

啟用查詢的平行化作業。

AsQueryable(IEnumerable)
已淘汰.

IEnumerable 轉換成 IQueryable

AsQueryable<TElement>(IEnumerable<TElement>)
已淘汰.

將泛型 IEnumerable<T> 轉換成泛型 IQueryable<T>

Ancestors<T>(IEnumerable<T>)
已淘汰.

傳回包含來源集合中每個節點祖系的項目集合。

Ancestors<T>(IEnumerable<T>, XName)
已淘汰.

傳回包含來源集合中每個節點祖系的已篩選項目集合。 集合中只會包含具有相符之 XName 的項目。

DescendantNodes<T>(IEnumerable<T>)
已淘汰.

傳回來源集合中每個文件和項目之子代節點的集合。

Descendants<T>(IEnumerable<T>)
已淘汰.

傳回包含來源集合中每個項目和文件之子代項目的項目集合。

Descendants<T>(IEnumerable<T>, XName)
已淘汰.

傳回已篩選的項目集合,其中包含來源集合中每個項目和文件的子代項目。 集合中只會包含具有相符之 XName 的項目。

Elements<T>(IEnumerable<T>)
已淘汰.

傳回來源集合中每個項目和文件的子項目集合。

Elements<T>(IEnumerable<T>, XName)
已淘汰.

傳回來源集合中每個項目和文件的已篩選子項目集合。 集合中只會包含具有相符之 XName 的項目。

InDocumentOrder<T>(IEnumerable<T>)
已淘汰.

傳回包含來源集合中所有節點的節點集合,依據文件順序來排序。

Nodes<T>(IEnumerable<T>)
已淘汰.

傳回來源集合中每個文件和項目的子節點集合。

Remove<T>(IEnumerable<T>)
已淘汰.

在來源集合中,從每一個節點的父節點移除這些節點。

適用於