Compartir a través de


IVsTextLayer.LockBufferEx(UInt32) Method

Definition

Locks the buffer as specified for reading and writing.

public:
 int LockBufferEx(System::UInt32 dwFlags);
public:
 int LockBufferEx(unsigned int dwFlags);
int LockBufferEx(unsigned int dwFlags);
public int LockBufferEx (uint dwFlags);
abstract member LockBufferEx : uint32 -> int
Public Function LockBufferEx (dwFlags As UInteger) As Integer

Parameters

dwFlags
UInt32

[in] ORing of BufferLockFlags (currently either BLF_READ or BLF_READ_AND_WRITE)

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLayer::LockBufferEx(  
   [in] DWORD dwFlags  
);  

Applies to