TaskProvider.TaskCollection Class

 

A container for Task objects.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

System.Object
  Microsoft.VisualStudio.Shell.TaskProvider.TaskCollection

public sealed class TaskCollection : IList, ICollection, IEnumerable

NameDescription
System_CAPS_pubmethodTaskProvider.TaskCollection(TaskProvider)

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

NameDescription
System_CAPS_pubpropertyCount

Gets the number of tasks in the collection.

System_CAPS_pubpropertyItem[Int32]

Gets or sets the task at the given index.

NameDescription
System_CAPS_pubmethodAdd(Task)

Adds a task to the collection.

System_CAPS_pubmethodClear()

Removes all the tasks from the collection.

System_CAPS_pubmethodContains(Task)

Gets whether or not the task exists in the collection

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Gets an enumerator for the collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(Task)

Gets the index of the specified task in the collection.

System_CAPS_pubmethodInsert(Int32, Task)

Inserts a task in the collection at the specified index.

System_CAPS_pubmethodRemove(Task)

Removes a task from the collection.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the task at the specified index.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Add(Object)

Adds the task to the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Clear()

Removes all the tasks from the list.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Contains(Object)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.IndexOf(Object)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Insert(Int32, Object)

Inserts a task in the collection at the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Remove(Object)

Removes the specified task from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.RemoveAt(Int32)

Removes the task from the specified index of the collection.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: