This documentation is archived and is not being maintained.

Selection.InsertBefore Method

Inserts the specified text before the specified selection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

void InsertBefore(
	string Text


Type: System.String
Required String. The text to be inserted.

After the text is inserted, the selection is expanded to include the new text. If the selection is a bookmark, the bookmark is also expanded to include the next text.