IVsTextBuffer.UnlockBufferEx(UInt32) 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.
Has no effect. Deprecated.
public:
int UnlockBufferEx(System::UInt32 dwFlags);
public:
int UnlockBufferEx(unsigned int dwFlags);
int UnlockBufferEx(unsigned int dwFlags);
public int UnlockBufferEx (uint dwFlags);
abstract member UnlockBufferEx : uint32 -> int
Public Function UnlockBufferEx (dwFlags As UInteger) As Integer
Parameters
- dwFlags
- UInt32
Has no effect. Deprecated.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Starting in Visual Studio 2010, you should access the text buffer on the UI thread, not on background threads. The text buffer no longer gets locked when you call LockBuffer or LockBufferEx. Similarly, the UnlockBuffer and UnlockBufferEx methods no longer have any effect.
COM Signature
From textmgr.idl:
HRESULT IVsTextBuffer::UnlockBufferEx(
[in] DWORD dwFlags
);