NamedValueDictionary<T>.TryGetValue Method (Microsoft.Xna.Framework.Content.Pipeline)
Gets the value associated with the specified key.
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public sealed bool TryGetValue( string key, out T value )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- key
-
Type: System.String
Identity of the key of the element whose value is to be retrieved.
- value
-
Type: out T
The current value of the element.
Return Value
Type: System.Booleantrue if the value is present; false otherwise.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop