System.Runtime.InteropServices.UCOMIStream.UnlockRegion Method

Removes the access restriction on a range of bytes previously restricted with UCOMIStream.LockRegion(long, long, int).

Syntax

public void UnlockRegion (long libOffset, long cb, int dwLockType)

Parameters

libOffset
The byte offset for the beginning of the range.
cb
The length, in bytes, of the range to restrict.
dwLockType
The access restrictions previously placed on the range.

Remarks

For more information, please see the existing documentation for IStream::UnlockRegion in the MSDN library.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0