共用方式為


IProjectFileInvisibleEditorTracker.EditorClosedAsync Method

Definition

Informs the system that the project file editor associated with the cookie has been closed.

public:
 System::Threading::Tasks::Task ^ EditorClosedAsync(Guid projectGuid, int cookie, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task EditorClosedAsync (Guid projectGuid, int cookie, System.Threading.CancellationToken cancellationToken);
abstract member EditorClosedAsync : Guid * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function EditorClosedAsync (projectGuid As Guid, cookie As Integer, cancellationToken As CancellationToken) As Task

Parameters

projectGuid
Guid

The GUID of the project being edited.

cookie
Int32

The cookie that represents the editor being closed, returned from calling EditorOpenedAsync(Guid, CancellationToken) when it was opened.

cancellationToken
CancellationToken

A cancellation token.

Returns

A Task representing the asynchronous operation.

Applies to