共用方式為


SmartTagCollection.IndexOf 方法

判斷所指定之智慧標籤在這個 SmartTagCollection 中的索引。

命名空間:  Microsoft.Office.Tools
組件:  Microsoft.Office.Tools.Common (在 Microsoft.Office.Tools.Common.dll 中)

語法

'宣告
Function IndexOf ( _
    value As SmartTagBase _
) As Integer
int IndexOf(
    SmartTagBase value
)

參數

傳回值

型別:System.Int32
所指定之智慧標籤在這個 SmartTagCollection 中的索引。如果集合中沒有此智慧標籤,則會傳回 -1。

.NET Framework 安全性

請參閱

參考

SmartTagCollection 介面

Microsoft.Office.Tools 命名空間