Share via


ExpectedProcessCollection Class

Definition

A collection of expected processes and their corresponding collection plans. It is not safe to modify this collection multiple threads. It is safe to read this collection from multiple threads.

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)
Inheritance
ExpectedProcessCollection
Implements

Properties

Count
IsReadOnly
Item[Int32]

Access an item by index

Methods

Add(ExpectedProcessCollectionEntry)

Add expected process entry.

Clear()
Contains(ExpectedProcessCollectionEntry)
CopyTo(ExpectedProcessCollectionEntry[], Int32)
GetEnumerator()

Returns an enumerator for the collection

IndexOf(ExpectedProcessCollectionEntry)

Return the index of the given item

Insert(Int32, ExpectedProcessCollectionEntry)

Insert an item into the collection

Remove(ExpectedProcessCollectionEntry)
RemoveAt(Int32)

Reove an item from the collection

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator for the collection

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Return this enumeration in case it is not null. In case it is null return empty enumeration.

Applies to