Share via


_SelectNamesDialog.Caption Property

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Property Caption As String
    Get
    Set
'Usage
Dim instance As _SelectNamesDialog
Dim value As String

value = instance.Caption

instance.Caption = value
string Caption { get; set; }

Property Value

Type: System.String

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

Reference

_SelectNamesDialog Interface

_SelectNamesDialog Members

Microsoft.Office.Interop.Outlook Namespace