SmartTagCollection.IndexOf Method

Determines the index of a specified smart tag in the SmartTagCollection.

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

Syntax

'Declaration
Function IndexOf ( _
    value As SmartTagBase _
) As Integer
int IndexOf(
    SmartTagBase value
)

Parameters

Return Value

Type: System.Int32
The index of a specified smart tag in the SmartTagCollection. If the smart tag is not in the collection, returns -1.

.NET Framework Security

See Also

Reference

SmartTagCollection Interface

Microsoft.Office.Tools Namespace