CogSerializer SaveObjectToFile Method (Object, String)Cognex VisionPro 9.25 SR1
Saves an object to a file in a binary format.

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

public static void SaveObjectToFile(
	Object obj,
	string path
)

Parameters

obj
Type: System Object
The object to save.
path
Type: System String
The path to the file.
Remarks

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