CogVerificationDatabase Fetch Method (String)Cognex VisionPro 9.20
Create a CogVerificationData that duplicates the item specified by the supplied key. Note that a new ICogRecord is created every time this method is called.

Namespace: Cognex.VisionPro.Inspection
Assembly: Cognex.VisionPro.Inspection (in Cognex.VisionPro.Inspection.dll) Version: 80.0.0.0 (80.0.0.0)
Syntax

public CogVerificationData Fetch(
	string key
)

Parameters

key
Type: System String
Specifies the item to fetch from the database.

Return Value

Type: CogVerificationData
A newly created instance of the requested database item.
Exceptions

ExceptionCondition
InvalidOperationException Thrown if not currently connected.
See Also