Udostępnij za pośrednictwem


ILockBytes Interface

Gives a compound file storage object's root storage access to the physical device while isolating it from the details of physical access. For more information, see ILockBytes.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
<GuidAttribute("0000000A-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface ILockBytes
[GuidAttribute("0000000A-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface ILockBytes
[GuidAttribute(L"0000000A-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface class ILockBytes
[<GuidAttribute("0000000A-0000-0000-C000-000000000046")>]
[<InterfaceTypeAttribute()>]
type ILockBytes =  interface end
public interface ILockBytes

The ILockBytes type exposes the following members.

Methods

  Name Description
Public method Flush
Public method LockRegion
Public method ReadAt
Public method SetSize
Public method Stat
Public method UnlockRegion
Public method WriteAt

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace