CogSerializationSurrogate GetObjectData Method (Object, SerializationInfo, StreamingContext, Type)Cognex VisionPro 9.24
Populates the provided SerializationInfo with the data needed to serialize the object.

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

public static void GetObjectData(
	Object obj,
	SerializationInfo info,
	StreamingContext context,
	Type nonVisionProBase
)

Parameters

obj
Type: System Object
The object to serialize.
info
Type: System.Runtime.Serialization SerializationInfo
The SerializationInfo to populate with data.
context
Type: System.Runtime.Serialization StreamingContext
The destination for this serialization.
nonVisionProBase
Type: System Type
A base class of "obj" which has it's own, non-visionpro serialization implementation. GetObjectData() will not serialize the private members of this base class.
See Also