CogSerializableObjectBase GetArchivedAssemblyVersion Method Cognex VisionPro 9.20
Gets the version of the assembly containing this object's type that created the given archive. It may be useful for objects to detect old archived versions of themselves, and manually depersist the old archives in a specialized way. Note that the returned Version object can be compared to fixed versions with its operator overloads for less than, equal to, etc.

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

protected static Version GetArchivedAssemblyVersion(
	SerializationInfo info
)

Parameters

info
Type: System.Runtime.Serialization SerializationInfo
The SerializationInfo containing the archived data.

Return Value

Type: Version
Version of the current type's assembly that created the given archive.
Remarks

Caution: Do not use this property during deserialization because the value of this property is undefined.
See Also