| MaterialIDictionaryString, EffectBindingTryGetValue Method |
Gets the value associated with the specified key.
Namespace: DigitalRune.GraphicsAssembly: 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
)
Private Function TryGetValue (
key As String,
<OutAttribute> ByRef value As EffectBinding
) As Boolean Implements IDictionary(Of String, EffectBinding).TryGetValue
private:
virtual bool TryGetValue(
String^ key,
[OutAttribute] EffectBinding^% value
) sealed = IDictionary<String^, EffectBinding^>::TryGetValue
private abstract TryGetValue :
key : string *
value : EffectBinding byref -> bool
private override TryGetValue :
key : string *
value : EffectBinding byref -> bool
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:
Booleantrue if the object that implements
IDictionaryTKey, TValue contains an element with the specified key; otherwise, false.
Implements
IDictionaryTKey, TValueTryGetValue(TKey, TValue)Exceptions See Also