Share via


vsInsertFlags Enum

Definition

Indicates how to insert text into a document.

C++/CX
public enum class vsInsertFlags
Inheritance
vsInsertFlags
Attributes

Fields

Name Value Description
vsInsertFlagsCollapseToEnd 1

Default. After the text is inserted, the insertion point is moved to the right side of the selection and the selected text is unselected (or collapsed).

vsInsertFlagsCollapseToStart 2

After the text is inserted, the insertion point is moved to the left side of the selection and the selected text is unselected (or, collapsed).

vsInsertFlagsContainNewText 4

The specified text overwrites the selected text.

vsInsertFlagsInsertAtEnd 8

The specified text is inserted at the end of the document.

vsInsertFlagsInsertAtStart 16

The specified text is inserted at the beginning of the document.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022