CogSerializer LoadObjectFromFile Method (String)Cognex VisionPro
Loads an object from the given file. The format of the file will be determined automatically for convenience.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax

public static Object LoadObjectFromFile(
	string path
)

Return Value

Type: Object
The loaded object.
Remarks

To learn more about persisting objects, see Persistence in VisionPro
See Also