Share via


MARKERBEHAVIORFLAGS2 Enumeration

Provides additional members for the MARKERBEHAVIORFLAGS enumeration.

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.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

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

Members

Member name Description
MB_DONT_DELETE_IF_ZEROLEN Marker does not delete itself even if text span has zero length.
MB_INHERIT_BACKGROUND The marker leaves the background color unchanged, inheriting from whatever is "behind" it.
MB_INHERIT_FOREGROUND The marker leaves the foreground color unchanged, inheriting from whatever is "behind" it.
MB_VIEW_SPECIFIC The marker appears only in specific views.

Remarks

COM Signature

From textmgr2.idl:

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace