Get the key and value associated with the specified index.
Namespace: Cognex.VisionAssembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
public override bool TryGetByIndex(
int index,
out string key,
out ITool value
)
public override bool TryGetByIndex(
int index,
out string key,
out ITool value
)
Public Overrides Function TryGetByIndex (
index As Integer,
<OutAttribute> ByRef key As String,
<OutAttribute> ByRef value As ITool
) As Boolean
Public Overrides Function TryGetByIndex (
index As Integer,
<OutAttribute> ByRef key As String,
<OutAttribute> ByRef value As ITool
) As Boolean
public:
virtual bool TryGetByIndex(
int index,
[OutAttribute] String^% key,
[OutAttribute] ITool^% value
) override
public:
virtual bool TryGetByIndex(
int index,
[OutAttribute] String^% key,
[OutAttribute] ITool^% value
) override
Return Value
Type:
Booleantrue if this dictionary contains a key and value at the specified index, else false.
An index is invalid if it is less than zero or is greater than or equal to Count.