Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IsolatedStorageFileStream.Unlock Method (Int64, Int64)

.NET Framework (current version)

Allows other processes to access all or part of a file that was previously locked.

Namespace:   System.IO.IsolatedStorage
Assembly:  mscorlib (in mscorlib.dll)

public override void Unlock(
	long position,
	long length


Type: System.Int64

The starting position of the range to unlock. The value of this parameter must be equal to or greater than 0 (zero).

Type: System.Int64

The number of bytes to unlock.

Exception Condition

position or length is negative.

.NET Framework
Available since 4.5
Return to top
© 2017 Microsoft