編輯

共用方式為


_SelectNamesDialog.Caption Property

Definition

Returns or sets a String (string in C#) value that represents the title for the Select Names dialog box. Read/write.

public:
 property System::String ^ Caption { System::String ^ get(); void set(System::String ^ value); };
public string Caption { get; set; }
Public Property Caption As String

Property Value

Remarks

If you do not set Caption, the title of the dialog box will be Select Names or the localized equivalent. If you set Caption to an empty string, the dialog box caption will be an empty string.

Setting the Caption to a long string (for example, 300 characters) will cause the caption to be truncated, and will not cause the width of the Select Names dialog to change.

Applies to