共用方式為


CommandBarControl.TooltipText Property

Gets or sets the tooltip text.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'宣告
Property TooltipText As String
    Get
    Set
'用途
Dim instance As CommandBarControl
Dim value As String

value = instance.TooltipText

instance.TooltipText = value
string TooltipText { get; set; }
property String^ TooltipText {
    String^ get ();
    void set (String^ value);
}
abstract TooltipText : string with get, set
function get TooltipText () : String
function set TooltipText (value : String)

Property Value

Type: System.String
The tooltip text, or the empty string if there is none.

.NET Framework Security

See Also

Reference

CommandBarControl Interface

CommandBarControl Members

Microsoft.VisualStudio.CommandBars Namespace