TaskCollection Class

 

Represents a collection of Task objects that are displayed in the task pane of the Dashboard.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

System::Object
  Microsoft.WindowsServerSolutions.Administration.ObjectModel::TaskCollection

[SerializableAttribute]
public ref class TaskCollection sealed : ICollection<Task^>, 
	IEnumerable<Task^>, IEnumerable

NameDescription
System_CAPS_pubmethodTaskCollection()

Initializes a new instance of the TaskCollection class.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of Task objects in the TaskCollection.

System_CAPS_pubpropertyIsReadOnly

Gets a value that indicates whether the TaskCollection is read-only.

NameDescription
System_CAPS_pubmethodAdd(Task^)

Adds the specified Task object to the TaskCollection.

System_CAPS_pubmethodClear()

Removes all Task objects from the TaskCollection.

System_CAPS_pubmethodContains(Task^)

Determines whether the specified Task object is in the TaskCollection.

System_CAPS_pubmethodCopyTo(array<Task^>^, Int32)

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

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that is used to iterate through the TaskCollection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodRemove(Task^)

Removes the first occurrence of the specified Task object from the TaskCollection.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable::GetEnumerator()

Returns an IEnumerator that can iterate through a collection.

A TaskCollection is passed as an argument to one of the Create methods of PageContent.

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

Community Additions

ADD
Show: