Partilhar via


VsTextBufferClass.LockBuffer Method

Definition

Locks the text buffer for the purpose of access control.

public:
 virtual int LockBuffer() = Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer::LockBuffer;
public:
 virtual int LockBuffer();
public:
 virtual int LockBuffer() = Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer::LockBuffer;
 virtual int LockBuffer();
public virtual int LockBuffer ();
abstract member LockBuffer : unit -> int
override this.LockBuffer : unit -> int
Public Overridable Function LockBuffer () As Integer

Returns

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

Implements

Applies to