Commit Method
Collapse the table of content
Expand the table of content

PrintSystemObject::Commit Method ()


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.

Namespace:   System.Printing
Assembly:  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.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft