SmartTagRecognizeContext Interface
Provides the context of a call to a custom smart tag recognizer.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
<GuidAttribute("b0fb8771-2307-4e1c-afb8-4ef3738a6ccc")> _
Public Interface SmartTagRecognizeContext
[GuidAttribute("b0fb8771-2307-4e1c-afb8-4ef3738a6ccc")]
public interface SmartTagRecognizeContext
The SmartTagRecognizeContext type exposes the following members.
Properties
Name | Description | |
---|---|---|
CellText | Gets the text from the cell that is sent to the Recognize method. |
Top
Methods
Name | Description | |
---|---|---|
PersistTag | Stores information about the smart tag. |
Top
Remarks
When you implement the Recognize method to define a custom smart tag recognizer, the context parameter is a SmartTagRecognizeContext object. Use the CellText property of this object to get the text from the cell that is sent to the recognizer, and use the PersistTag method of this object to indicate that a smart tag was found.
Usage
This type is intended to be used only in projects for Excel 2007. Smart tags are deprecated in Excel 2010. For more information, see Smart Tags Overview.