RibbonReadOnlyCollection.GetRibbonContextCollection (Método)

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

Devuelve una colección de objetos IRibbonExtension que están asociados a una clase de mensaje o aplicación especificadas.

Espacio de nombres:  Microsoft.Office.Tools.Ribbon
Ensamblados:   Microsoft.Office.Tools.Common.v4.0.Utilities (en Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Common (en Microsoft.Office.Tools.Common.dll)

Sintaxis

'Declaración
Function GetRibbonContextCollection ( _
    contextWindow As Object, _
    customRibbonType As Type _
) As IList(Of IRibbonExtension)
IList<IRibbonExtension> GetRibbonContextCollection(
    Object contextWindow,
    Type customRibbonType
)

Parámetros

Valor devuelto

Tipo: System.Collections.Generic.IList<IRibbonExtension>

Seguridad de .NET Framework

Vea también

Referencia

RibbonReadOnlyCollection Interfaz

Microsoft.Office.Tools.Ribbon (Espacio de nombres)