ContactAddressDictionaryTryGetValue Method Ipswitch.Messaging.Framework
Gets the PostalAddress 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 PostalAddress address
)

Parameters

key
Type: SystemString
The key (name) of the PostalAddress to retrieve.
address
Type: Ipswitch.Messaging.FrameworkPostalAddress
This will contain the PostalAddress 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 PostalAddressDictionary contains a PostalAddress with the specified key; otherwise, false.

Implements

IDictionaryTKey, TValueTryGetValue(TKey, TValue)
See Also

Reference