Serializer LoadObjectFromFile Method (String)Cognex VisionPro 9.10

Load an object from a file.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax

public static IObject LoadObjectFromFile(
	string path
)

Return Value

Type: IObject

The loaded object.

Exceptions

ExceptionCondition
ArgumentExceptionThe path argument is not a valid file name.
FileOpenExceptionAn error occurred while opening the specified file.
See Also