ComponentOne Bitmap for UWP
C1.UWP.DX Assembly / C1.Util.DX.Storage Namespace / IStream Interface / LockRegion Method
The offset.
The number of bytes to lock.
Type of the dw lock.

In This Topic
    LockRegion Method (IStream)
    In This Topic
    Restricts access to a specified range of bytes in the stream.
    Syntax
    'Declaration
     
    Sub LockRegion( _
       ByVal offset As System.Long, _
       ByVal numberOfBytesToLock As System.Long, _
       ByVal dwLockType As LockType _
    ) 
    void LockRegion( 
       System.long offset,
       System.long numberOfBytesToLock,
       LockType dwLockType
    )

    Parameters

    offset
    The offset.
    numberOfBytesToLock
    The number of bytes to lock.
    dwLockType
    Type of the dw lock.
    See Also