TaskProvider.TaskCollection TaskProvider.TaskCollection TaskProvider.TaskCollection TaskProvider.TaskCollection Class

Definition

A container for Task objects.

public: ref class TaskProvider::TaskCollection sealed : System::Collections::IList
public sealed class TaskProvider.TaskCollection : System.Collections.IList
type TaskProvider.TaskCollection = class
    interface IList
    interface ICollection
    interface IEnumerable
Public NotInheritable Class TaskProvider.TaskCollection
Implements IList
Inheritance
TaskProvider.TaskCollectionTaskProvider.TaskCollectionTaskProvider.TaskCollectionTaskProvider.TaskCollection
Implements

Constructors

TaskProvider.TaskCollection(TaskProvider) TaskProvider.TaskCollection(TaskProvider) TaskProvider.TaskCollection(TaskProvider) TaskProvider.TaskCollection(TaskProvider)

Initializes a new instance of TaskProvider.TaskCollection for the supplied task provider.

Properties

Count Count Count Count

Gets the number of tasks in the collection.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets or sets the task at the given index.

Methods

Add(Task) Add(Task) Add(Task) Add(Task)

Adds a task to the collection.

Clear() Clear() Clear() Clear()

Removes all the tasks from the collection.

Contains(Task) Contains(Task) Contains(Task) Contains(Task)

Gets whether or not the task exists in the collection

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Gets an enumerator for the collection.

IndexOf(Task) IndexOf(Task) IndexOf(Task) IndexOf(Task)

Gets the index of the specified task in the collection.

Insert(Int32, Task) Insert(Int32, Task) Insert(Int32, Task) Insert(Int32, Task)

Inserts a task in the collection at the specified index.

Remove(Task) Remove(Task) Remove(Task) Remove(Task)

Removes a task from the collection.

RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

Removes the task at the specified index.

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

Copies the collection to an array, starting at the specified index.

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized
ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot
IList.Add(Object) IList.Add(Object) IList.Add(Object) IList.Add(Object)

Adds the task to the collection.

IList.Clear() IList.Clear() IList.Clear() IList.Clear()

Removes all the tasks from the list.

IList.Contains(Object) IList.Contains(Object) IList.Contains(Object) IList.Contains(Object)

Gets whether or not the specified task exists in the collection.

IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object)

Gets the index of the collection at which the specified task exists.

IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object)

Inserts a task in the collection at the specified index.

IList.IsFixedSize IList.IsFixedSize IList.IsFixedSize IList.IsFixedSize
IList.IsReadOnly IList.IsReadOnly IList.IsReadOnly IList.IsReadOnly
IList.Item[Int32] IList.Item[Int32] IList.Item[Int32] IList.Item[Int32]
IList.Remove(Object) IList.Remove(Object) IList.Remove(Object) IList.Remove(Object)

Removes the specified task from the collection.

IList.RemoveAt(Int32) IList.RemoveAt(Int32) IList.RemoveAt(Int32) IList.RemoveAt(Int32)

Removes the task from the specified index of the collection.

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to