XsWin32FileStream.Unlock Method | |
Allows access by other processes to all or part of a file that was previously locked.
Namespace:
XSharp.IO
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax VIRTUAL METHOD Unlock(
position AS INT64,
length AS INT64
) AS VOID
public override void Unlock(
long position,
long length
)
Request Example
View SourceParameters
- position
- Type: Int64
The beginning of the range to unlock. - length
- Type: Int64
The range to be unlocked.
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | position or length is negative. |
Remarks This method calls the Windows UnlockFile() function directly.
See Also