共用方式為


RibbonCollectionBase.ICollection<IRibbonExtension>.Contains 方法

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 Contains ( _
    item As IRibbonExtension _
) As Boolean Implements ICollection(Of IRibbonExtension).Contains
bool ICollection<IRibbonExtension>.Contains(
    IRibbonExtension item
)

參數

傳回值

型別:System.Boolean

實作

ICollection<T>.Contains(T)

.NET Framework 安全性

請參閱

參考

RibbonCollectionBase 類別

Microsoft.Office.Tools.Ribbon 命名空間