Get the item associated with the specified key.
Namespace: Cognex.VisionAssembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
public override bool TryGetValue(
string key,
out Record value
)
public override bool TryGetValue(
string key,
out Record value
)
Public Overrides Function TryGetValue (
key As String,
<OutAttribute> ByRef value As Record
) As Boolean
Public Overrides Function TryGetValue (
key As String,
<OutAttribute> ByRef value As Record
) As Boolean
public:
virtual bool TryGetValue(
String^ key,
[OutAttribute] Record^% value
) override
public:
virtual bool TryGetValue(
String^ key,
[OutAttribute] Record^% value
) override
Parameters
- key
- Type: System String
The key of the item to retrieve.
- value
- Type: Cognex.Vision Record
If the key is found, this will be the value associated with that key when this method returns. If the key is NOT found, this will equal the input value.
Return Value
Type:
Booleantrue if this dictionary contains an element with the specified key, else false.