SmartTagCollection.IndexOf(SmartTagBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.