TaskListCollection Class

 

Provides a container class for task list elements.

Namespace:   Microsoft.Web.Management.Client
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

System.Object
  System.Collections.CollectionBase
    Microsoft.Web.Management.Client.TaskListCollection

[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public sealed class TaskListCollection : CollectionBase

NameDescription
System_CAPS_pubmethodTaskListCollection()

Initializes a new instance of the TaskListCollection class.

System_CAPS_pubmethodTaskListCollection(ICollection)

Initializes a new instance of the TaskListCollection class with the specified task list element.

NameDescription
System_CAPS_pubpropertyCapacity

(Inherited from CollectionBase.)

System_CAPS_pubpropertyCount

(Inherited from CollectionBase.)

System_CAPS_pubpropertyItem[Int32]

Gets or sets array access semantics for the task list collection.

NameDescription
System_CAPS_pubmethodAdd(TaskList)

Adds a task list to the collection.

System_CAPS_pubmethodClear()

(Inherited from CollectionBase.)

System_CAPS_pubmethodContains(TaskList)

Returns a value that indicates whether the object is in the task list collection.

System_CAPS_pubmethodCopyTo(TaskList[], Int32)

Copies the entire task list collection to a compatible one-dimensional task list array, starting at the specified index of the target array.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

(Inherited from CollectionBase.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(TaskList)

Searches for the specified task list and returns the zero-based index of the first occurrence in the collection.

System_CAPS_pubmethodInsert(Int32, TaskList)

Inserts an element into the TaskListCollection object at the specified index.

System_CAPS_pubmethodRemove(TaskList)

Removes the first occurrence of a specific object from the task list collection.

System_CAPS_pubmethodRemoveAt(Int32)

(Inherited from CollectionBase.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

A class implementation may have a TaskListCollection member, but more typically a TaskListCollection is created in the get accessor of a property or the return value of a method.

The following example implements the Tasks property.

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: