RibbonCollectionBase.IList<IRibbonExtension>.IndexOf 方法
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
命名空間: Microsoft.Office.Tools.Ribbon
組件: Microsoft.Office.Tools.Common.v4.0.Utilities (在 Microsoft.Office.Tools.Common.v4.0.Utilities.dll 中)
語法
'宣告
Private Function IndexOf ( _
item As IRibbonExtension _
) As Integer Implements IList(Of IRibbonExtension).IndexOf
int IList<IRibbonExtension>.IndexOf(
IRibbonExtension item
)
參數
傳回值
型別:System.Int32
實作
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。