ContactPhoneDictionaryTryGetValue Method Ipswitch.Messaging.Framework
Gets the phone number with the specified key (name).

Namespace: Ipswitch.Messaging.Framework
Assembly: Ipswitch.Messaging.Framework (in Ipswitch.Messaging.Framework.dll) Version: 1.0.0.0
Syntax

public bool TryGetValue(
	string key,
	out string phoneNumber
)

Parameters

key
Type: SystemString
The key (name) of the phone number to retrieve.
phoneNumber
Type: SystemString
This will contain the phone number associated with the specified key (name) when this method returns. If the key is not found, this will be set to null.

Return Value

Type: Boolean
true if the PhoneNumberDictionary contains a phone number with the specified key; otherwise, false.

Implements

IDictionaryTKey, TValueTryGetValue(TKey, TValue)
See Also

Reference