Freigeben über


BufferLockFlags Enumeration

Do not use. Deprecated.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration BufferLockFlags
[FlagsAttribute]
public enum BufferLockFlags
[FlagsAttribute]
public enum class BufferLockFlags
[<FlagsAttribute>]
type BufferLockFlags
public enum BufferLockFlags

Members

Member name Description
BLF_READ Do not use. Deprecated.
BLF_READ_AND_WRITE Do not use. Deprecated.

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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace