TaskProvider::TaskCollection::Contains Method (Task^)

 

Gets whether or not the task exists in the collection

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

public:
bool Contains(
	Task^ task
)

Parameters

task
Type: Microsoft.VisualStudio.Shell::Task^

The task for which to search.

Return Value

Type: System::Boolean

true if the task exists in the collection, otherwise false.

Return to top
Show: