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.StringA string in which to store the display name.
Return value
Type: System.Boolean