Partager via


RibbonManager Interface

Manages the Ribbon customizations that are created by using the Ribbon Designer in an Office project.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
<GuidAttribute("011958aa-068d-4bab-804f-b4b4243dfb59")> _
Public Interface RibbonManager _
    Inherits IReflect, IDisposable
[GuidAttribute("011958aa-068d-4bab-804f-b4b4243dfb59")]
public interface RibbonManager : IReflect, 
    IDisposable

The RibbonManager type exposes the following members.

Properties

  Name Description
Public property UnderlyingSystemType Gets the underlying type that represents the IReflect object. (Inherited from IReflect.)

Top

Methods

  Name Description
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public method GetField Returns the FieldInfo object that corresponds to the specified field and binding flag. (Inherited from IReflect.)
Public method GetFields Returns an array of FieldInfo objects that correspond to all fields of the current class. (Inherited from IReflect.)
Public method GetMember Retrieves an array of MemberInfo objects corresponding to all public members or to all members that match a specified name. (Inherited from IReflect.)
Public method GetMembers Retrieves an array of MemberInfo objects that correspond either to all public members or to all members of the current class. (Inherited from IReflect.)
Public method GetMethod(String, BindingFlags) Retrieves a MethodInfo object that corresponds to a specified method under specified search constraints. (Inherited from IReflect.)
Public method GetMethod(String, BindingFlags, Binder, array<Type[], array<ParameterModifier[]) Retrieves a MethodInfo object corresponding to a specified method, using a Type array to choose from among overloaded methods. (Inherited from IReflect.)
Public method GetMethods Retrieves an array of MethodInfo objects with all public methods or all methods of the current class. (Inherited from IReflect.)
Public method GetProperties Retrieves an array of PropertyInfo objects corresponding to all public properties or to all properties of the current class. (Inherited from IReflect.)
Public method GetProperty(String, BindingFlags) Retrieves a PropertyInfo object corresponding to a specified property under specified search constraints. (Inherited from IReflect.)
Public method GetProperty(String, BindingFlags, Binder, Type, array<Type[], array<ParameterModifier[]) Retrieves a PropertyInfo object that corresponds to a specified property with specified search constraints. (Inherited from IReflect.)
Public method InvokeMember Invokes a specified member. (Inherited from IReflect.)

Top

Remarks

Note

This interface is implemented by the Visual Studio Tools for Office runtime. It is not intended to be implemented in your code. For more information, see Visual Studio Tools for Office Runtime Overview.

Usage

This documentation describes the version of this type that is used in Office projects that target the .NET Framework 4 and the .NET Framework 4.5. In projects that target the .NET Framework 3.5, this type might have different members and the code examples provided for this type might not work. For documentation about this type in projects that target the .NET Framework 3.5, see the following reference section in the Visual Studio 2008 documentation: https://go.microsoft.com/fwlink/?LinkId=160658.

See Also

Reference

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Overview

Ribbon Object Model Overview