Partilhar via


VsTextBufferClass.IVsTextLines_LockBuffer Method

Definition

Locks the text buffer for the purpose of access control.

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

Returns

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

Applies to