ActionEventArgs.Text Property

Gets the text that was recognized as a smart tag.

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

Syntax

'Declaration
ReadOnly Property Text As String
    Get
string Text { get; }

Property Value

Type: System.String
The text that was recognized as a smart tag.

Examples

The following code example demonstrates a handler for the BeforeCaptionShow event. The event handler uses the Text property to modify the menu caption of the action. This code example is part of a larger example provided for the Action interface.

This example is for a document-level customization.

.NET Framework Security

See Also

Reference

ActionEventArgs Interface

Microsoft.Office.Tools.Excel Namespace