共用方式為


VsTextBufferClass.LockBufferEx(UInt32) Method

Definition

Extension of the LockBuffer() method.

public:
 virtual int LockBufferEx(System::UInt32 dwFlags) = Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer::LockBufferEx;
public:
 virtual int LockBufferEx(System::UInt32 dwFlags);
public:
 virtual int LockBufferEx(unsigned int dwFlags) = Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer::LockBufferEx;
 virtual int LockBufferEx(unsigned int dwFlags);
public virtual int LockBufferEx (uint dwFlags);
abstract member LockBufferEx : uint32 -> int
override this.LockBufferEx : uint32 -> int
Public Overridable Function LockBufferEx (dwFlags As UInteger) As Integer

Parameters

dwFlags
UInt32

[in]Combine with a bitwise or of BufferLockFlags, presently either BLF_READ or BLF_WRITE.)

Returns

If the method succeeds, returns S_OK; otherwise, returns an error code.

Implements

Applies to