Saves the layout of the RibbonQuickAccessToolbar's items to a stream.
public virtual void SaveLayoutToStream( Stream stream )
Public Overridable Sub SaveLayoutToStream( stream As Stream )
A Stream descendant to which the layout of items is written.
Bar items within the RibbonQuickAccessToolbar and within the stored layout are identified by unique identifiers specified by the BarItem.Id property. To correctly save the layout, ensure that this property is set to a unique value for each bar item. For items created at design time, the BarItem.Id properties are initialized automatically. For items created in code, you need to manually initialize their BarItem.Id properties.