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)

Syntax

'Declaration
Private Function TryGetValue ( _
    key As String, _
    <OutAttribute> ByRef value As SemanticValue _
) As Boolean Implements IDictionary(Of String, SemanticValue).TryGetValue
bool IDictionary<string, SemanticValue>.TryGetValue(
    string key,
    out SemanticValue value
)
private:
virtual bool TryGetValue(
    String^ key, 
    [OutAttribute] SemanticValue^% value
) sealed = IDictionary<String^, SemanticValue^>::TryGetValue
private abstract TryGetValue : 
        key:string * 
        value:SemanticValue byref -> bool  
private override TryGetValue : 
        key:string * 
        value:SemanticValue byref -> bool
JScript does not support explicit interface implementations.

Parameters

Return Value

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

Implements

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

Version Information

.NET Framework

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

.NET Framework Client Profile

Supported in: 4

See Also

Reference

SemanticValue Class

System.Speech.Recognition Namespace