SmartTagCollection.Contains Method
Determines whether the SmartTagCollection contains a specific smart tag.
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
- smartTag
Type: Microsoft.Office.Tools.SmartTagBase
The smart tag instance that you want to check for.
Return Value
Type: System.Boolean
true if the SmartTagCollection contains the specified smart tag; otherwise, false.
.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.