ImAddressDictionary.TryGetValue(ImAddressKey, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Tente d’obtenir l’adresse de messagerie instantanée qui correspond à la clé spécifiée.
public:
bool TryGetValue(Microsoft::Exchange::WebServices::Data::ImAddressKey key, [Runtime::InteropServices::Out] System::String ^ % imAddress);
public bool TryGetValue(Microsoft.Exchange.WebServices.Data.ImAddressKey key, out string imAddress);
Public Function TryGetValue (key As ImAddressKey, ByRef imAddress As String) As Boolean
Paramètres
- key
- ImAddressKey
Clé qui correspond à l’adresse de messagerie instantanée.
- imAddress
- String
Lorsque cette méthode est retournée, contient l’adresse de messagerie instantanée associée à la clé spécifiée, si la clé est trouvée ; sinon, une référence null (Nothing en Visual Basic). Ce paramètre est passé non initialisé.
Retours
true si le dictionnaire contient une adresse de messagerie instantanée associée à la clé spécifiée ; sinon, false.