共用方式為


IntelliSenseHostFlags

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Specifies IntelliSense host flags.

Syntax

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

Parameters

Members Description
IHF_READONLYCONTEXT Context buffer is read-only.
IHF_NOSEPARATESUBJECT No subject text. Context buffer contains IntelliSense-target (implies !IHF_READONLYCONTEXT).
IHF_SINGLELINESUBJECT Subject text is not multi-line-capable.
IHF_FORCECOMMITTOCONTEXT Same as CanCommitIntoReadOnlyBuffer.
IHF_OVERTYPE Editing (in subject or context) should be done in overtype mode.

Requirements

SingleFileeditor.idl

See also