MultiValueReadOnlyDictionaryTKey, TValueTryGetValue(TKey, TValue) Method

Gets the value that is associated with the specified key.


Namespace: TcHmiSrv.Core.Collections
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public bool TryGetValue(
    TKey key,
    out TValue value
)

Parameters

key  TKey

The key to locate.

value  TValue

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 parameter. This parameter is passed uninitialized.

Return Value

Boolean
if the object that implements the IReadOnlyDictionaryTKey, TValue interface contains an element that has the specified key; otherwise, .

Implements

IReadOnlyDictionaryTKey, TValueTryGetValue(TKey, TValue)

Exceptions

Exception

Condition

ArgumentNullException

key is .

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

MultiValueReadOnlyDictionaryTKey, TValue Class TryGetValue Overload TcHmiSrv.Core.Collections Namespace

Copyright © Beckhoff Automation GmbH & Co. KG