IVsTextBufferProvider.LockTextBuffer(Int32) 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 to prevent editing.
public:
int LockTextBuffer(int fLock);
public:
int LockTextBuffer(int fLock);
int LockTextBuffer(int fLock);
public int LockTextBuffer (int fLock);
abstract member LockTextBuffer : int -> int
Public Function LockTextBuffer (fLock As Integer) As Integer
Parameters
- fLock
- Int32
[in] Set to true
to lock the text buffer, or false
to unlock the text buffer.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsTextBufferProvider::LockTextBuffer(
[in] BOOL fLock
);