SmartTagCollection.Contains(SmartTagBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the SmartTagCollection contains a specific 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..
public:
bool Contains(Microsoft::Office::Tools::SmartTagBase ^ smartTag);
public bool Contains (Microsoft.Office.Tools.SmartTagBase smartTag);
abstract member Contains : Microsoft.Office.Tools.SmartTagBase -> bool
Public Function Contains (smartTag As SmartTagBase) As Boolean
Parameters
- smartTag
- SmartTagBase
The smart tag instance that you want to check for.
Returns
true
if the SmartTagCollection contains the specified smart tag; otherwise, false
.