IntellisenseHostFlags Enumeration

 

Specifies IntelliSense host flags.

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

[FlagsAttribute]
public enum IntellisenseHostFlags

Member nameDescription
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.

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.

Return to top
Show: