Share via


TEXT_DOC_ATTR_2

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Describes the attributes of a document.

Syntax

typedef DWORD TEXT_DOC_ATTR_2;
const TEXT_DOC_ATTR_2 TEXT_DOC_ATTR_READONLY_2 = 0x00000001;
public const uint TEXT_DOC_ATTR_READONLY_2 = 0x00000001;

Members

TEXT_DOC_ATTR_READONLY_2
Indicates that the document is read-only.

Remarks

Note

This value is not actually defined in the assembly for C#. Instead, you must copy the definition to your source file.

Passed as an argument to the onUpdateDocumentAttributes method.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also