Click or drag to resize
DigitalRuneNamedObjectCollectionTTryGet Method (String, T)
Gets the object associated with the specified key.

Namespace: DigitalRune.Collections
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public bool TryGet(
	string key,
	out T value
)

Parameters

key
Type: SystemString
The name of the element to get.
value
Type: T
When this method returns, the object associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. (This parameter is passed uninitialized.)

Return Value

Type: Boolean
if the NamedObjectCollectionT contains an element with the specified key; otherwise, .
See Also