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.
System.Printing (in System.Printing.dll)
virtual void Commit() abstract
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.
No code example is currently available or this language may not be supported.
Return to top
Available since 3.0