Partager via


AddressItem.TryGetDisplayName Method

Include Protected Members
Include Inherited Members

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.