This documentation is archived and is not being maintained.

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
/** @attribute FlagsAttribute() */ 
public enum IntellisenseHostFlags
FlagsAttribute 
public enum IntellisenseHostFlags

 Member nameDescription
IHF_FORCECOMMITTOCONTEXTIndicates that the context text can be committed to a read-only buffer. 
IHF_NOSEPARATESUBJECTIndicates that there is no subject and the context buffer contains the IntelliSense target. This flag implies that the IHF_READONLYCONTEXT is not specified. 
IHF_OVERTYPEIndicates 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_READONLYCONTEXTIndicates the context buffer is read-only. 
IHF_SINGLELINESUBJECTIndicates the subject text must be displayed on a single line. 

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.

Show: