Share via


ExpectedProcessCollection 類別

定義

預期的進程及其對應的收集計劃集合。 修改此集合多個線程並不安全。 從多個線程讀取此集合是安全的。

public ref class ExpectedProcessCollection : System::Collections::Generic::ICollection<Microsoft::VisualStudio::IntelliTrace::ExpectedProcessCollectionEntry ^>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::IntelliTrace::ExpectedProcessCollectionEntry ^>, System::Collections::Generic::IList<Microsoft::VisualStudio::IntelliTrace::ExpectedProcessCollectionEntry ^>
public class ExpectedProcessCollection : System.Collections.Generic.ICollection<Microsoft.VisualStudio.IntelliTrace.ExpectedProcessCollectionEntry>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.IntelliTrace.ExpectedProcessCollectionEntry>, System.Collections.Generic.IList<Microsoft.VisualStudio.IntelliTrace.ExpectedProcessCollectionEntry>
type ExpectedProcessCollection = class
    interface IList<ExpectedProcessCollectionEntry>
    interface ICollection<ExpectedProcessCollectionEntry>
    interface seq<ExpectedProcessCollectionEntry>
    interface IEnumerable
Public Class ExpectedProcessCollection
Implements ICollection(Of ExpectedProcessCollectionEntry), IEnumerable(Of ExpectedProcessCollectionEntry), IList(Of ExpectedProcessCollectionEntry)
繼承
ExpectedProcessCollection
實作

屬性

Count

預期的進程及其對應的收集計劃集合。 修改此集合多個線程並不安全。 從多個線程讀取此集合是安全的。

IsReadOnly

預期的進程及其對應的收集計劃集合。 修改此集合多個線程並不安全。 從多個線程讀取此集合是安全的。

Item[Int32]

依索引存取專案

方法

Add(ExpectedProcessCollectionEntry)

新增預期的進程專案。

Clear()

預期的進程及其對應的收集計劃集合。 修改此集合多個線程並不安全。 從多個線程讀取此集合是安全的。

Contains(ExpectedProcessCollectionEntry)

預期的進程及其對應的收集計劃集合。 修改此集合多個線程並不安全。 從多個線程讀取此集合是安全的。

CopyTo(ExpectedProcessCollectionEntry[], Int32)

預期的進程及其對應的收集計劃集合。 修改此集合多個線程並不安全。 從多個線程讀取此集合是安全的。

GetEnumerator()

傳回集合的列舉值

IndexOf(ExpectedProcessCollectionEntry)

傳回指定專案的索引

Insert(Int32, ExpectedProcessCollectionEntry)

將專案插入集合中

Remove(ExpectedProcessCollectionEntry)

預期的進程及其對應的收集計劃集合。 修改此集合多個線程並不安全。 從多個線程讀取此集合是安全的。

RemoveAt(Int32)

從集合重新調整專案

明確介面實作

IEnumerable.GetEnumerator()

傳回集合的列舉值

擴充方法

EmptyIfNull<T>(IEnumerable<T>)

如果此列舉不是 Null,則傳回此列舉。 如果是 null,則傳回空列舉。

適用於