Partager via


MimeAddressReader.TryGetDisplayName Method (String)

The TryGetDisplayName method tries to get the display name of the current address header.

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Function TryGetDisplayName ( _
    <OutAttribute> ByRef displayName As String _
) As Boolean
'Usage
Dim instance As MimeAddressReader
Dim displayName As String
Dim returnValue As Boolean

returnValue = instance.TryGetDisplayName(displayName)
public bool TryGetDisplayName(
    out string displayName
)

Parameters

  • displayName
    Type: System.String
    A string in which to store the display name.

Return Value

Type: System.Boolean