CogMemoryStream ToSerializationInfo Method Cognex VisionPro 9.24
Stores an object as a series of 1GiB arrays in the SerializationInfo This is useful in the GetObjectData method when large objects need to be stored

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 91.0.0.0 (91.0.0.0)
Syntax

public void ToSerializationInfo(
	SerializationInfo info,
	string keyPrefix
)

Parameters

info
Type: System.Runtime.Serialization SerializationInfo
Reference to the SerializationInfo from the constructor
keyPrefix
Type: System String
Base name to use for the keys in the SerializationInfo
See Also