共用方式為


BufferLockFlags Enum

Definition

Do not use. Deprecated.

This enumeration supports a bitwise combination of its member values.

public enum class BufferLockFlags
public enum class BufferLockFlags
enum BufferLockFlags
[System.Flags]
public enum BufferLockFlags
[<System.Flags>]
type BufferLockFlags = 
Public Enum BufferLockFlags
Inheritance
BufferLockFlags
Attributes

Fields

Name Value Description
BLF_READ 0

Do not use. Deprecated.

BLF_READ_AND_WRITE 1

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.

Applies to