TaskProvider.TaskCollection Members

A container for Task objects.

The TaskProvider.TaskCollection type exposes the following members.

Constructors

  Name Description
Public method TaskProvider.TaskCollection Initializes a new instance of TaskProvider.TaskCollection for the supplied task provider.

Top

Methods

  Name Description
Public method Add Adds a task to the collection.
Public method Clear Removes all the tasks from the collection.
Public method Contains Gets whether or not the task exists in the collection
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Gets an enumerator for the collection.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Gets the index of the specified task in the collection.
Public method Insert Inserts a task in the collection at the specified index.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes a task from the collection.
Public method RemoveAt Removes the task at the specified index.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property Count Gets the number of tasks in the collection.
Public property Item Gets or sets the task at the given index.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add
Explicit interface implemetationPrivate method IList.Clear
Explicit interface implemetationPrivate method IList.Contains
Explicit interface implemetationPrivate method ICollection.CopyTo
Explicit interface implemetationPrivate method IList.IndexOf
Explicit interface implemetationPrivate method IList.Insert
Explicit interface implemetationPrivate property IList.IsFixedSize
Explicit interface implemetationPrivate property IList.IsReadOnly
Explicit interface implemetationPrivate property ICollection.IsSynchronized
Explicit interface implemetationPrivate property IList.Item
Explicit interface implemetationPrivate method IList.Remove
Explicit interface implemetationPrivate method IList.RemoveAt
Explicit interface implemetationPrivate property ICollection.SyncRoot

Top

See Also

Reference

TaskProvider.TaskCollection Class

Microsoft.VisualStudio.Shell Namespace