共用方式為


VsShellUtilities.EmptyTaskList(IServiceProvider) Method

Definition

Empties the task list.

public:
 static int EmptyTaskList(IServiceProvider ^ serviceProvider);
public static int EmptyTaskList (IServiceProvider serviceProvider);
static member EmptyTaskList : IServiceProvider -> int
Public Shared Function EmptyTaskList (serviceProvider As IServiceProvider) As Integer
Public Function EmptyTaskList (serviceProvider As IServiceProvider) As Integer

Parameters

serviceProvider
IServiceProvider

The service provider.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to