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)

Reove 集合中的项

显式接口实现

IEnumerable.GetEnumerator()

返回集合的枚举器

扩展方法

EmptyIfNull<T>(IEnumerable<T>)

适用于