共用方式為


_CommandBars.DisplayKeysInTooltips Property

Determines whether key bindings are displayed in tooltips. Always returns true.

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

Syntax

'宣告
Property DisplayKeysInTooltips As Boolean
bool DisplayKeysInTooltips { get; set; }

Property Value

Type: System.Boolean
Always returns true.

Remarks

Attempting to set this property with any other value will cause an exception to be thrown.

.NET Framework Security

See Also

Reference

_CommandBars Interface

Microsoft.VisualStudio.CommandBars Namespace