CogSerializationSurrogate SetObjectData Method (Object, SerializationInfo, StreamingContext)Cognex VisionPro 9.22 SR1
Populates the object using the information in the SerializationInfo.

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

public static Object SetObjectData(
	Object obj,
	SerializationInfo info,
	StreamingContext context
)

Parameters

obj
Type: System Object
The object to populate.
info
Type: System.Runtime.Serialization SerializationInfo
The information to populate the object.
context
Type: System.Runtime.Serialization StreamingContext
The source from which the object is deserialized.

Return Value

Type: Object
The populated deserialized object.
See Also