EmailAddressDictionary.TryGetValue(EmailAddressKey, EmailAddress) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries to get the e-mail address that is associated with the specified key.
public:
bool TryGetValue(Microsoft::Exchange::WebServices::Data::EmailAddressKey key, [Runtime::InteropServices::Out] Microsoft::Exchange::WebServices::Data::EmailAddress ^ % emailAddress);
public bool TryGetValue (Microsoft.Exchange.WebServices.Data.EmailAddressKey key, out Microsoft.Exchange.WebServices.Data.EmailAddress emailAddress);
Public Function TryGetValue (key As EmailAddressKey, ByRef emailAddress As EmailAddress) As Boolean
Parameters
- key
- EmailAddressKey
The key that is associated with the e-mail address.
- emailAddress
- EmailAddress
If the specified key is found, contains the e-mail address that is associated with the specified key; otherwise, a null reference (Nothing in Visual Basic). This parameter is passed uninitialized.
Returns
true if the dictionary contains an e-mail address that is associated with the specified key; otherwise, false.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for