Share via


SelectNamesDialog.Caption Property

Outlook Developer Reference

Returns or sets the title for the Select Names dialog box. Read-write.

Version Information
 Version Added:  Outlook 2007

Syntax

expression.Caption

expression   A variable that represents a SelectNamesDialog object.

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.

See Also