Selection.Flags property

Returns or sets properties of the selection.

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

WdSelectionFlags Flags { get; set; }

The return value of the Flags property is the sum of the WdSelectionFlags constants that apply to the selection.

Setting the Flags property to wdSelAtEOL will make the end of the selection active.