SmartTagBase.Remove Method
Removes a regular expression recognizer from the smart tag. This type or member is intended to be used only in projects for the 2007 Microsoft Office system. Smart tags are deprecated in Office 2010. .
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Sub Remove ( _
regex As Regex _
)
void Remove(
Regex regex
)
Parameters
regex
Type: System.Text.RegularExpressions.RegexA regular expression that is used to define the term to be searched for in the document.
.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.