Share via


AddressItem.TryGetDisplayName method

The TryGetDisplayName overloads try to get the display name of an AddressItem object, but do not throw an exception if the display name uses encoding that is unsupported.

Overload list

  Name Description
Public method TryGetDisplayName(String) The TryGetDisplayName method tries to get the display name of this TryGetDisplayName object.
Public method TryGetDisplayName(DecodingOptions, DecodingResults, String) The TryGetDisplayName method tries to get the display name of this AddressItem object and makes available information about the original encoding of the display name.

Top

Remarks

The TryGetDisplayName overloads provide access to the value stored in the DisplayName property only if the DisplayName property uses an encoding that is supported.

See also

Reference

AddressItem class

AddressItem members

Microsoft.Exchange.Data.Mime namespace