Class LOCKTYPE
The LOCKTYPE enumeration values indicate the type of locking requested for the specified range of bytes.
Inheritance
System.Object
LOCKTYPE
Namespace: Syncfusion.CompoundFile.DocIO.Native
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public sealed class LOCKTYPE : Enum
Fields
LOCK_EXCLUSIVE
If this lock is granted, writing to the specified range of bytes is prohibited except by the owner granted this lock.
Declaration
public const LOCKTYPE LOCK_EXCLUSIVE
Field Value
Type |
---|
LOCKTYPE |
LOCK_ONLYONCE
If this lock is granted, no other LOCK_ONLYONCE lock can be obtained on the range. Usually this lock type is an alias for some other lock type. Thus, specific implementations can have additional behavior associated with this lock type.
Declaration
public const LOCKTYPE LOCK_ONLYONCE
Field Value
Type |
---|
LOCKTYPE |
LOCK_WRITE
If this lock is granted, the specified range of bytes can be opened and read any number of times, but writing to the locked range is prohibited except for the owner who granted this lock.
Declaration
public const LOCKTYPE LOCK_WRITE
Field Value
Type |
---|
LOCKTYPE |