ToolPinTrackingCollection TryGetByIndex Method Cognex VisionPro 9.20

Get the key and value associated with the specified index.

Namespace: Cognex.Vision.Implementation
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax

public override bool TryGetByIndex(
	int index,
	out string key,
	out ToolPin value
)

Parameters

index
Type: System Int32
The index of the key and value to retrieve.
key
Type: System String 
value
Type: Cognex.Vision.Implementation ToolPin 

Return Value

Type: Boolean

true if this dictionary contains a key and value at the specified index, else false.

Remarks

An index is invalid if it is less than zero or is greater than or equal to Count.

See Also