Condividi tramite


IntellisenseHostFlags Enum

Definition

Specifies IntelliSense host flags.

This enumeration supports a bitwise combination of its member values.

public enum class IntellisenseHostFlags
public enum class IntellisenseHostFlags
enum IntellisenseHostFlags
[System.Flags]
public enum IntellisenseHostFlags
[<System.Flags>]
type IntellisenseHostFlags = 
Public Enum IntellisenseHostFlags
Inheritance
IntellisenseHostFlags
Attributes

Fields

Name Value Description
IHF_READONLYCONTEXT 1

Indicates the context buffer is read-only.

IHF_NOSEPARATESUBJECT 2

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_SINGLELINESUBJECT 4

Indicates the subject text must be displayed on a single line.

IHF_FORCECOMMITTOCONTEXT 8

Indicates that the context text can be committed to a read-only buffer.

IHF_OVERTYPE 16

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).

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.

Applies to