ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 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 Long, _
       ByVal numberOfBytesToLock As Long, _
       ByVal dwLockType As LockType _
    ) 
    void LockRegion( 
       long offset,
       long numberOfBytesToLock,
       LockType dwLockType
    )

    Parameters

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