VsTextBufferClass.LockBuffer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.