共用方式為


AsyncPackage.GetToolWindowTitle(Type, Int32) Method

Definition

Returns the title string to use for the tool window. If null is returned, the tool window's type name is used for the title.

protected:
 virtual System::String ^ GetToolWindowTitle(Type ^ toolWindowType, int id);
protected:
 virtual Platform::String ^ GetToolWindowTitle(Platform::Type ^ toolWindowType, int id);
protected virtual string GetToolWindowTitle (Type toolWindowType, int id);
abstract member GetToolWindowTitle : Type * int -> string
override this.GetToolWindowTitle : Type * int -> string
Protected Overridable Function GetToolWindowTitle (toolWindowType As Type, id As Integer) As String

Parameters

toolWindowType
Type

Type of the window to be created

id
Int32

Instance ID or 0 for single instance toolwindows

Returns

The title string

Applies to