共用方式為


ButtonText Element

This field lets you specify the text that appears in various menus. By default, the ButtonText element appears in menu controllers. The ButtonText element also becomes the default if the other text fields are blank. The ButtonText element cannot be blank even if the other text fields are specified.

<ButtonText>My Command</ButtonText>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

None.

Parent Elements

Element

Description

Strings Element

Groups text elements, such as ButtonText and CommandName.

Text Value

The text value of the ButtonText element provides the text that is displayed for menu items, combos, and other user interface (UI) elements that have visible text.

See Also

Other Resources

Visual Studio Command Table (.Vsct) Files