TechTalk Genome v4.2

OptimisticLockingSemantics.VersionToByteArray Method 

Creates a byte array representation of the provided IOptimisticLockVersion.

public static byte[] VersionToByteArray(
   IOptimisticLockVersion version
);

Parameters

version
The IOptimisticLockVersion for which a byte array representation is required.

Return Value

The byte array representation of version.

Remarks

This method can be used to get a representation of the version useful in serialization scenarios.

The byte array returned can be converted back to the original version using VersionFromByteArray.

Requirements

Namespace: TechTalk.Genome.Locking

Assembly: TechTalk.Genome (in TechTalk.Genome.dll)

Version: 4.2.4.4

Editions: Professional, Evaluation, Express

See Also

OptimisticLockingSemantics Class | TechTalk.Genome.Locking Namespace