Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SemanticValue.IDictionary<String, SemanticValue>.TryGetValue Method

Gets the SemanticValue associated with the specified key.

Namespace:  System.Speech.Recognition
Assembly:  System.Speech (in System.Speech.dll)

bool IDictionary<string, SemanticValue>.TryGetValue(
	string key,
	out SemanticValue value


Type: System.String

A key for a SemanticValue.

Type: System.Speech.Recognition.SemanticValue

The SemanticValue to get.

Return Value

Type: System.Boolean
Returns true if the dictionary contains a key/value pair with the specified key; otherwise the method returns false.


IDictionary<TKey, TValue>.TryGetValue(TKey, TValue)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft