Loads an object from the given file. The format of the file will be determined automatically for convenience.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.1.0.0
public static Object LoadObjectFromFile(
string path
)
public static Object LoadObjectFromFile(
string path
)
Public Shared Function LoadObjectFromFile (
path As String
) As Object
Public Shared Function LoadObjectFromFile (
path As String
) As Object
public:
static Object^ LoadObjectFromFile(
String^ path
)
public:
static Object^ LoadObjectFromFile(
String^ path
)
Parameters
- path
- Type: System String
The full path to the file to load.
Return Value
Type:
ObjectThe loaded object.
To learn more about persisting objects, see
Persistence in VisionPro