The ShowAddressBook method displays the address book user interface.
[Address =] object.ShowAddressBook(hwndParent)
| Part | Description |
|---|---|
| object | Expression that evaluates to a SendMailTask object |
| hwndParent | Window handle of the parent window |
| Address | String to receive the address selected by the user |
hwndParent is the handle of the window on which the address book is to be displayed.
HRESULT ShowAddressBook(
long hwndParent,
BSTR *Address);