Share via


SmartTag.PersistTag Method (2007 System)

Stores information about the smart tag.

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

Syntax

'Declaration
Protected Sub PersistTag
'Usage
Me.PersistTag()
protected void PersistTag()
protected:
void PersistTag()
protected function PersistTag()

Exceptions

Exception Condition
InvalidOperationException

PersistTag was not called from Recognize.

Remarks

PersistTag commits the tag being recognized. Call it from the Recognize method to indicate that the smart tag was found in the text.

.NET Framework Security

See Also

Reference

SmartTag Class

SmartTag Members

PersistTag Overload

Microsoft.Office.Tools.Excel Namespace