CogFontSerializationSurrogate SetObjectData Method 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 Object SetObjectData(
	Object obj,
	SerializationInfo info,
	StreamingContext context,
	ISurrogateSelector selector
)

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.
selector
Type: System.Runtime.Serialization ISurrogateSelector
The surrogate selector where the search for a compatible surrogate begins.

Return Value

Type: Object
The populated deserialized object.

Implements

ISerializationSurrogate SetObjectData(Object, SerializationInfo, StreamingContext, ISurrogateSelector)
See Also