PrintSystemObject::Commit Method ()
.NET Framework (current version)
When overridden in a derived class, writes any changes that your program has made to the object's properties to the actual software or hardware component that the object represents.
Assembly: System.Printing (in System.Printing.dll)
For example, when overridden by the PrintServer class, Commit will write changes that are made to the PrintServer object's properties to the actual computer that the object represents.
The following example shows how to use this method (called on a PrintQueue object, which overrides the method from PrintSystemObject) as part of the process of merging print tickets.
.NET Framework
Available since 3.0
Available since 3.0
Show: