Share via


DisplayName Property

DisplayName Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Contains the display name of the addressee.

Applies To

IAddressee Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

[Visual Basic]Property DisplayName As String

[C++]HRESULT get_DisplayName(BSTRpVal);
HRESULT put_DisplayName(BSTR Val);

Parameters

  • pVal
    Returns the value of the DisplayName property as a reference to a BSTR.
  • Val
    Sets the value of the DisplayName property to the value of the BSTR.

Remarks

The DisplayName property defaults to the empty string until the addressee is resolved using the CheckName Method. After the addressee is resolved, this property contains the display name of the addressee as contained in the corresponding directory object. If the search criteria were ambiguous and multiple matches occurred, the DisplayName property remains empty.

Note that you can set the DisplayName property explicitly and then call the CheckName Method. The DisplayName property is then used along with other property values when attempting to resolve the addressee to a directory object.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.