FileDialog.ButtonName Property

Definition

Returns or sets a String representing the text that is displayed on the action button of a file dialog box.

C++
public:
 property System::String ^ ButtonName { System::String ^ get(); void set(System::String ^ value); };

Property Value

Remarks

By default, this property is set to the standard text for the type of file dialog box. For example, in the case of the Open dialog box, the property is set to "Open" by default. This string is limited to fifty-one characters.

Applies to

Product Versions
Office primary interop assembly Latest