Share via


SmartTagCollection.Contains Method

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. .

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Function Contains ( _
    smartTag As SmartTagBase _
) As Boolean
bool Contains(
    SmartTagBase smartTag
)

Parameters

Return Value

Type: System.Boolean
true if the SmartTagCollection contains the specified smart tag; otherwise, false.

.NET Framework Security

See Also

Reference

SmartTagCollection Interface

Microsoft.Office.Tools Namespace