Share via


SmartTagCollection.Contains(SmartTagBase) Method

Definition

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.

Applies to