Removes a task from the collection.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Sub Remove ( _
task As Task _
)
'使用
Dim instance As TaskProvider..::.TaskCollection
Dim task As Task
instance.Remove(task)
public void Remove(
Task task
)
public:
void Remove(
Task^ task
)
public function Remove(
task : Task
)
Parameters
task
Type: Microsoft.VisualStudio.Shell.TaskThe task to remove.
Permissions
- 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.
See Also
Reference
TaskProvider.TaskCollection Class