Condividi tramite


IToolWindowProvider.GetTitleAsync(String, CancellationToken) Method

Definition

Gets the title of the tool window associated with the given identifier.

public System.Threading.Tasks.Task<string> GetTitleAsync (string identifier, System.Threading.CancellationToken cancellationToken);
abstract member GetTitleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GetTitleAsync (identifier As String, cancellationToken As CancellationToken) As Task(Of String)

Parameters

identifier
String

The tool window's identifier.

cancellationToken
CancellationToken

A CancellationToken to cancel the in-progress request.

Returns

The tool window's title.

Applies to