다음을 통해 공유


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.

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.

Overload List

Name Description
AddressItem.TryGetDisplayName (out String)
The TryGetDisplayName method tries to get the display name of this TryGetDisplayName object.
AddressItem.TryGetDisplayName (DecodingOptions, out DecodingResults, out 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.