Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes a task from the collection.
Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Sub Remove ( _
    task As Task _
)
public void Remove(
    Task task
)
public:
void Remove(
    Task^ task
)
member Remove : 
        task:Task -> unit
public function Remove(
    task : Task
)
Parameters
- task 
 Type: Microsoft.VisualStudio.Shell.Task- The task to remove. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.