Share via


MailEnabledRecipient.ToString Method

Creates a text representation of the recipient.

Namespace:  Microsoft.Exchange.Data.Directory.Management
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As MailEnabledRecipient
Dim returnValue As String

returnValue = instance.ToString()
public override string ToString()

Return Value

Type: System.String
The text representation of the recipient.

Remarks

This override creates a text representation of the recipient for the UI.

In most cases, this method returns the value of the DisplayName property, if it is not a null reference (Nothing in Visual Basic).