UCOMIStream.UnlockRegion(Int64, Int64, Int32) 方法

定義

移除先前以 LockRegion(Int64, Int64, Int32) 限制的位元組範圍的存取限制。Removes the access restriction on a range of bytes previously restricted with LockRegion(Int64, Int64, Int32).

public:
 void UnlockRegion(long libOffset, long cb, int dwLockType);
public void UnlockRegion (long libOffset, long cb, int dwLockType);
abstract member UnlockRegion : int64 * int64 * int -> unit
Public Sub UnlockRegion (libOffset As Long, cb As Long, dwLockType As Integer)

參數

libOffset
Int64

範圍開頭的位元組位移。The byte offset for the beginning of the range.

cb
Int64

要限制的範圍長度,以位元組為單位。The length, in bytes, of the range to restrict.

dwLockType
Int32

先前對範圍的存取限制。The access restrictions previously placed on the range.

備註

如需詳細資訊,請參閱 MSDN library 中的 IStream::UnlockRegion 的現有檔。For more information, please see the existing documentation for IStream::UnlockRegion in the MSDN library.

適用於