共用方式為


CommandBarButtonClass.DescriptionText Property

Always returns the empty string.

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

Syntax

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

value = instance.DescriptionText

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

Property Value

Type: System.String
The empty string.

Implements

_CommandBarButton.DescriptionText

Remarks

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

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace