Serializer SaveObjectToStream Method (, Stream)Cognex VisionPro 9.25 SR1

Save an object to a stream.

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

public static void SaveObjectToStream(
	IObject obj,
	Stream stream
)

Parameters

obj
Type: IObject
The object to save.
stream
Type: System.IO Stream
The output stream.
Exceptions

ExceptionCondition
ArgumentExceptionThe supplied object reference is null.
See Also