Edit

Share via


PhysicalAddressDictionary.TryGetValue Method

Definition

Tries to get the physical address that is associated with the specified key.

public:
 bool TryGetValue(Microsoft::Exchange::WebServices::Data::PhysicalAddressKey key, [Runtime::InteropServices::Out] Microsoft::Exchange::WebServices::Data::PhysicalAddressEntry ^ % physicalAddress);
public bool TryGetValue (Microsoft.Exchange.WebServices.Data.PhysicalAddressKey key, out Microsoft.Exchange.WebServices.Data.PhysicalAddressEntry physicalAddress);
Public Function TryGetValue (key As PhysicalAddressKey, ByRef physicalAddress As PhysicalAddressEntry) As Boolean

Parameters

key
PhysicalAddressKey

The key that is associated with the physical address.

physicalAddress
PhysicalAddressEntry

If the specified key is found, contains the physical 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 a physical address that is associated with the specified key; otherwise, false.

Applies to