This documentation is archived and is not being maintained.

vsInsertFlags Enumeration

Indicates how to insert text into a document.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

[GuidAttribute("79515B53-8294-4F96-AA96-DD16BF126703")] 
public enum vsInsertFlags
/** @attribute GuidAttribute("79515B53-8294-4F96-AA96-DD16BF126703") */ 
public enum vsInsertFlags
GuidAttribute("79515B53-8294-4F96-AA96-DD16BF126703") 
public enum vsInsertFlags

 Member nameDescription
vsInsertFlagsCollapseToEndDefault. 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). 
vsInsertFlagsCollapseToStartAfter the text is inserted, the insertion point is moved to the left side of the selection and the selected text is unselected (or, collapsed). 
vsInsertFlagsContainNewTextThe specified text overwrites the selected text. 
vsInsertFlagsInsertAtEndThe specified text is inserted at the end of the document. 
vsInsertFlagsInsertAtStartThe specified text is inserted at the beginning of the document. 
Show: