If this dictionary contains the specified key,
output the associated value. Return true if
the key was found, otherwise return false.
Namespace: Cognex.VisionPro.ImplementationAssembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 75.1.0.0 (75.1.0.0)
public bool TryGetValue(
TKey key,
out TValue value
)
public bool TryGetValue(
TKey key,
out TValue value
)
Public Function TryGetValue (
key As TKey,
<OutAttribute> ByRef value As TValue
) As Boolean
Public Function TryGetValue (
key As TKey,
<OutAttribute> ByRef value As TValue
) As Boolean
public:
virtual bool TryGetValue(
TKey key,
[OutAttribute] TValue% value
) sealed
public:
virtual bool TryGetValue(
TKey key,
[OutAttribute] TValue% value
) sealed
Parameters
- key
- Type: TKey
Search for this key.
- value
- Type: TValue
The found value.
Return Value
Type:
BooleanImplements
IDictionary TKey, TValue TryGetValue(TKey, TValue )