Serializer LoadObjectFromStream Method (Stream, SerializerOptionsConstants)Cognex VisionPro 9.21 SR1

Save an object to a stream.

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

public static IObject LoadObjectFromStream(
	Stream stream,
	SerializerOptionsConstants option
)

Return Value

Type: IObject
Exceptions

ExceptionCondition
ArgumentExceptionThe supplied object reference is null.
See Also