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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.