共用方式為


ISolutionService.CloseSolutionAndFolderAsync(CancellationToken) Method

Definition

Closes the currently open solution or folder.

public:
 System::Threading::Tasks::Task ^ CloseSolutionAndFolderAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task CloseSolutionAndFolderAsync (System.Threading.CancellationToken cancellationToken);
abstract member CloseSolutionAndFolderAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CloseSolutionAndFolderAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

A cancellation token.

Returns

A task that represents the completion of closing the solution or folder.

Applies to