SmartTagCollection.IndexOf(SmartTagBase) Method

Definition

Determines the index of a specified smart tag in the SmartTagCollection. 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:
 int IndexOf(Microsoft::Office::Tools::SmartTagBase ^ value);
public int IndexOf (Microsoft.Office.Tools.SmartTagBase value);
abstract member IndexOf : Microsoft.Office.Tools.SmartTagBase -> int
Public Function IndexOf (value As SmartTagBase) As Integer

Parameters

value
SmartTagBase

The smart tag to locate in the collection.

Returns

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

Applies to