SmartTagCollection.IndexOf Method
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. .
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
value
Type: Microsoft.Office.Tools.SmartTagBaseThe smart tag to locate in the collection.
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
- 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.