Saves an object to a file in a binary format.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 91.0.0.0
public static void SaveObjectToFile(
Object obj,
string path
)
public static void SaveObjectToFile(
Object obj,
string path
)
Public Shared Sub SaveObjectToFile (
obj As Object,
path As String
)
Public Shared Sub SaveObjectToFile (
obj As Object,
path As String
)
public:
static void SaveObjectToFile(
Object^ obj,
String^ path
)
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.
To learn more about persisting objects, see
Persistence in VisionPro