RibbonReadOnlyCollection.GetRibbonContextCollection 方法

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

返回与指定的邮件类或应用程序关联的 IRibbonExtension 对象的集合。

命名空间:  Microsoft.Office.Tools.Ribbon
程序集:  Microsoft.Office.Tools.Common(在 Microsoft.Office.Tools.Common.dll 中)

语法

声明
Function GetRibbonContextCollection ( _
    contextWindow As Object, _
    customRibbonType As Type _
) As IList(Of IRibbonExtension)
IList<IRibbonExtension> GetRibbonContextCollection(
    Object contextWindow,
    Type customRibbonType
)

参数

返回值

类型:System.Collections.Generic.IList<IRibbonExtension>

.NET Framework 安全性

请参见

参考

RibbonReadOnlyCollection 接口

Microsoft.Office.Tools.Ribbon 命名空间