IsolatedStorageFileStream.Unlock Method (Int64, Int64)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Overrides Sub Unlock (
	position As Long,
	length As Long
)

Parameters

position
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).

length
Type: System.Int64

The number of bytes to unlock.

Exception Condition
ArgumentOutOfRangeException

position or length is negative.

.NET Framework
Available since 4.5
Return to top
Show: