共用方式為


RibbonBase.Global Property

Definition

Gets or sets a value that determines whether this RibbonBase can be used in multiple contexts simultaneously.

public:
 property bool Global { bool get(); void set(bool value); };
public bool Global { get; set; }
member this.Global : bool with get, set
Public Property Global As Boolean

Property Value

true if this RibbonBase object is shared among multiple contexts; otherwise, false. The default is true.

Remarks

RibbonBase objects that have this property set to false are created every time a new Outlook Inspector is opened.

This property can be set only before the Ribbon is loaded into the Office application. For information about setting this property, see Ribbon Object Model Overview.

Applies to