SelectNamesDialog SelectNamesDialog SelectNamesDialog Interface

Definition

Displays the Select Names dialog box for the user to select entries from one or more address lists, and returns the selected entries in the collection object specified by the property Recipients.

public interface class SelectNamesDialog : Microsoft::Office::Interop::Outlook::_SelectNamesDialog
[System.Runtime.InteropServices.Guid("000630C8-0000-0000-C000-000000000046")]
public interface SelectNamesDialog : Microsoft.Office.Interop.Outlook._SelectNamesDialog
Public Interface SelectNamesDialog
Implements _SelectNamesDialog
Derived
Attributes
Implements

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _SelectNamesDialog.

You can instantiate an instance of the SelectNamesDialog object by calling GetSelectNamesDialog().

The dialog box displayed by Display() is similar to the Select Names dialog box in the Outlook user interface. It observes the size and position settings of the built-in Select Names dialog box. However, its default state does not show Message Recipients above the To, Cc, and Bcc edit boxes. For more information on using the SelectNamesDialog object to display the Select Names dialog box, see Display Names from the Address Book

Properties

AllowMultipleSelection AllowMultipleSelection AllowMultipleSelection

Returns or sets a Boolean (bool in C#) that determines whether more than one address entry can be selected at a time in the Select Names dialog. Read/write.

(Inherited from _SelectNamesDialog)

Application Application Application

Returns an Application object that represents the parent application (Outlook) for the SelectNamesDialog object. Read-only.

(Inherited from _SelectNamesDialog)

BccLabel BccLabel BccLabel

Returns or sets a String (string in C#) for the text that appears on the Bcc command button on the Select Names dialog box. Read/write.

(Inherited from _SelectNamesDialog)

Caption Caption Caption

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

(Inherited from _SelectNamesDialog)

CcLabel CcLabel CcLabel

Returns or sets a String (string in C#) for the text that appears on the Cc command button on the Select Names dialog box. Read/write.

(Inherited from _SelectNamesDialog)

Class Class Class

Returns a constant in the OlObjectClass enumeration indicating the class of the SelectNamesDialog object. Read-only.

(Inherited from _SelectNamesDialog)

ForceResolution ForceResolution ForceResolution

Returns or sets a Boolean (bool in C#) that determines if Outlook must resolve all recipients in the object specified by Recipients before the user can click OK to accept the typed or selected recipients in the Select Names dialog box. Read/write.

(Inherited from _SelectNamesDialog)

InitialAddressList InitialAddressList InitialAddressList

Returns or sets an AddressList object that determines the initial address list to be displayed in the Select Names dialog box. Read/write.

(Inherited from _SelectNamesDialog)

NumberOfRecipientSelectors NumberOfRecipientSelectors NumberOfRecipientSelectors

Returns or sets a OlRecipientSelectors constant that determines the number of recipient edit boxes (each associated with a command button) displayed in the Select Names dialog box. Read/write.

(Inherited from _SelectNamesDialog)

Parent Parent Parent

Returns the parent object of the SelectNamesDialog object. Read-only.

(Inherited from _SelectNamesDialog)

Recipients Recipients Recipients

Returns a Recipients collection object that represents the recipients selected in the Select Names dialog, or sets a Recipients collection object that represents the initial recipients to be displayed in the Select Names dialog box. Read/write.

(Inherited from _SelectNamesDialog)

Session Session Session

Returns the NameSpace object for the current session. Read-only.

(Inherited from _SelectNamesDialog)

ShowOnlyInitialAddressList ShowOnlyInitialAddressList ShowOnlyInitialAddressList

Returns or sets a Boolean (bool in C#) that determines if the AddressList represented by InitialAddressList is the only AddressList available in the drop-down list for Address Book in the Select Names dialog box. Read/write.

(Inherited from _SelectNamesDialog)

ToLabel ToLabel ToLabel

Returns or sets a String (string in C#) for the text that appears on the To command button on the Select Names dialog box. Read/write.

(Inherited from _SelectNamesDialog)

Methods

Display() Display() Display()

Displays the Select Names dialog box.

(Inherited from _SelectNamesDialog)

SetDefaultDisplayMode(OlDefaultSelectNamesDisplayMode) SetDefaultDisplayMode(OlDefaultSelectNamesDisplayMode) SetDefaultDisplayMode(OlDefaultSelectNamesDisplayMode)

Sets the default display mode for the Select Names dialog box, specifying its caption and button labels.

(Inherited from _SelectNamesDialog)

Applies to