ContactEmailDictionaryTryGetValue Method Ipswitch.Messaging.Framework
Gets the email address 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 EmailAddress emailAddress
)

Parameters

key
Type: SystemString
The key (name) of the email address to retrieve.
emailAddress
Type: EmailAddress
This will contain the email address 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 ContactEmailDictionary contains an email address with the specified key; otherwise, false.

Implements

IDictionaryTKey, TValueTryGetValue(TKey, TValue)
See Also

Reference