Share via


CepObjectReadOnlyDictionary<T>.TryGetValue Method

Tries to get the value given the key.

Namespace:  Microsoft.ComplexEventProcessing
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Syntax

public bool TryGetValue(
    string key,
    out T value
)

Parameters

  • value
    Type: T%
    The value for the key, if the key exists.

Return Value

Type: System.Boolean
Contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter.

Implements

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

See Also

Reference

CepObjectReadOnlyDictionary<T> Class

Microsoft.ComplexEventProcessing Namespace