Share via


IntellisenseHostFlags Enumeration

Specifies IntelliSense host flags.

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 IntellisenseHostFlags
[FlagsAttribute]
public enum IntellisenseHostFlags
[FlagsAttribute]
public enum class IntellisenseHostFlags
[<FlagsAttribute>]
type IntellisenseHostFlags
public enum IntellisenseHostFlags

Members

Member name Description
IHF_FORCECOMMITTOCONTEXT Indicates that the context text can be committed to a read-only buffer.
IHF_NOSEPARATESUBJECT Indicates that there is no subject and the context buffer contains the IntelliSense target. This flag implies that the IHF_READONLYCONTEXT is not specified.
IHF_OVERTYPE Indicates that any editing (in the subject or context fields) should be done in the overwrite mode (otherwise, editing is done in the insert mode).
IHF_READONLYCONTEXT Indicates the context buffer is read-only.
IHF_SINGLELINESUBJECT Indicates the subject text must be displayed on a single line.

Remarks

COM Signature

From singlefileeditor.idl:

enum IntellisenseHostFlags {
   IHF_READONLYCONTEXT      = 0x00000001,
   IHF_NOSEPARATESUBJECT    = 0x00000002,
   IHF_SINGLELINESUBJECT    = 0x00000004,
   IHF_FORCECOMMITTOCONTEXT = 0x00000008,
   IHF_OVERTYPE             = 0x00000010
};

These flags are returned from a call to the GetHostFlags method in the IVsIntellisenseHost interface.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace