Value.TryGetValue Method

Gets the Value associated with the specified key.

Namespace:  TcHmiSrv.Core
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public bool TryGetValue(
    string key,
    out Value value
)

Parameters

key

Type: System.String
The key of the Value to get.

value

Type: TcHmiSrv.Core.Value.
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. This parameter is passed uninitialized.

Return Value

Type: Boolean
true if the Value contains a Value with the specified key; otherwise, false.

Implements

IDictionary.TKey, TValue..TryGetValue(TKey, TValue.)
IReadOnlyDictionary.TKey, TValue..TryGetValue(TKey, TValue.)

Reference

Value Class

TcHmiSrv.Core Namespace