Partager via


ContextChangeEventArgs.Selection Property

Definition

Gets the selected text, including the XML elements.

public:
 property Microsoft::Office::Interop::Word::Selection ^ Selection { Microsoft::Office::Interop::Word::Selection ^ get(); };
public Microsoft.Office.Interop.Word.Selection Selection { get; }
member this.Selection : Microsoft.Office.Interop.Word.Selection
Public ReadOnly Property Selection As Selection

Property Value

A Selection that includes the text and XML elements; null if no text is selected.

Applies to