ContextChangeEventArgs.Selection (Propiedad)

Obtiene el texto seleccionado, incluidos los elementos XML.

Espacio de nombres:  Microsoft.Office.Tools.Word
Ensamblado:  Microsoft.Office.Tools.Word (en Microsoft.Office.Tools.Word.dll)

Sintaxis

'Declaración
ReadOnly Property Selection As Selection
Selection Selection { get; }

Valor de propiedad

Tipo: Microsoft.Office.Interop.Word.Selection
Objeto Selection que incluye el texto y los elementos XML; devuelve nullreferencia null (Nothing en Visual Basic) si no hay ningún texto seleccionado.

Seguridad de .NET Framework

Vea también

Referencia

ContextChangeEventArgs Interfaz

Microsoft.Office.Tools.Word (Espacio de nombres)