Condividi tramite


Factory Interface

Definition

Provides a method you can use to create Ribbon controls at run time in an application-level add-in.

public interface class Factory
[System.Runtime.InteropServices.Guid("857D6117-1E7B-422B-A9E3-F907304C709A")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface Factory
[<System.Runtime.InteropServices.Guid("857D6117-1E7B-422B-A9E3-F907304C709A")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type Factory = interface
Public Interface Factory
Derived
Attributes

Remarks

To get a Factory object, use the Globals.Factory property in your project. For more information, see Global Access to Objects in Office Projects.

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.

Methods

GetRibbonFactory()

Returns an object that you can use to create Ribbon controls at run time.

Applies to