ToolWindowProvider.GetTitleAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>
override this.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.