TaskCollection.Contains Method (Task)
Determines whether the specified Task object is in the TaskCollection.
Namespace: Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly: Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)
Syntax
public bool Contains(
Task item
)
public:
virtual bool Contains(
Task^ item
) sealed
Public Function Contains (
item As Task
) As Boolean
Parameters
item
Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.TaskThe Task object to locate in the TaskCollection.
Return Value
Type: System.Boolean
true if the Task was located in the TaskCollection; otherwise, false.
Implements
See Also
TaskCollection Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace
Return to top