CogSerializer DeepCopyObject Method (Object, CogSerializationOptionsConstants)Cognex VisionPro 9.24
Returns a deep copy of the supplied object, modulated by the supplied serialization options.

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

public static Object DeepCopyObject(
	Object obj,
	CogSerializationOptionsConstants optionBits
)

Parameters

obj
Type: System Object
The object to copy.
optionBits
Type: Cognex.VisionPro CogSerializationOptionsConstants
The option bits specifying what should be copied.

Return Value

Type: Object
A copy of the input object.
See Also