共用方式為


CommandBarButtonClass.TooltipText Property

Gets or sets the tooltip text.

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

Syntax

'宣告
Public Overridable Property TooltipText As String
    Get
    Set
'用途
Dim instance As CommandBarButtonClass
Dim value As String

value = instance.TooltipText

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

Property Value

Type: System.String
The tooltip text.

Implements

_CommandBarButton.TooltipText

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace