共用方式為


vsInsertFlags Enum

Definition

Indicates how to insert text into a document.

public enum class vsInsertFlags
public enum class vsInsertFlags
enum vsInsertFlags
[System.Runtime.InteropServices.Guid("79515B53-8294-4F96-AA96-DD16BF126703")]
public enum vsInsertFlags
[<System.Runtime.InteropServices.Guid("79515B53-8294-4F96-AA96-DD16BF126703")>]
type vsInsertFlags = 
Public Enum vsInsertFlags
Inheritance
vsInsertFlags
Attributes

Fields

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