次の方法で共有


ToolWindow.WindowTitle Property

Gets the title of the tool window.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'宣言
Public Overridable ReadOnly Property WindowTitle As String
    Get
public virtual string WindowTitle { get; }
public:
virtual property String^ WindowTitle {
    String^ get ();
}
abstract WindowTitle : string
override WindowTitle : string
function get WindowTitle () : String

Property Value

Type: System.String
The title of the tool window.

Examples

The following example assigns a title to a tool window.

public override string WindowTitle
{
     get { return "Custom Window"; }
}  

.NET Framework Security

See Also

Reference

ToolWindow Class

Microsoft.VisualStudio.Modeling.Shell Namespace