SelectionEventArgs Interface

 

Provides data for the SelectionChange, Selected, and Deselected events of a Bookmark control.

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

[GuidAttribute("1669c37b-2ce5-4924-ac10-2e50a5b95901")]
public interface class SelectionEventArgs

NameDescription
System_CAPS_pubpropertySelection

Gets a Selection that represents the text that was selected.

The following code example adds a Bookmark control with text to the document and then creates a Selected event handler. A message box is displayed when you move the cursor into the bookmark.

This example is for a document-level customization.

No code example is currently available or this language may not be supported.
Return to top
Show: