共用方式為


IntelliSenseHostFlags

Specifies IntelliSense host flags.

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

Reference

Microsoft.VisualStudio.TextManager.Interop