Click or drag to resize
DigitalRuneMaterialIDictionaryString, EffectBindingTryGetValue Method
Gets the value associated with the specified key.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
bool IDictionary<string, EffectBinding>.TryGetValue(
	string key,
	out EffectBinding value
)

Parameters

key
Type: SystemString
The key whose value to get.
value
Type: DigitalRune.Graphics.EffectsEffectBinding
When this method returns, the value 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
true if the object that implements IDictionaryTKey, TValue contains an element with the specified key; otherwise, false.

Implements

IDictionaryTKey, TValueTryGetValue(TKey, TValue)
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is null.
See Also