PrintSystemObject PrintSystemObject PrintSystemObject PrintSystemObject Class


Defines basic properties and methods that are common to the objects of the printing system. Classes that derive from this class represent such objects as print queues, print servers, and print jobs.

public ref class PrintSystemObject abstract : IDisposable
public abstract class PrintSystemObject : IDisposable
type PrintSystemObject = class
    interface IDisposable
Public MustInherit Class PrintSystemObject
Implements IDisposable


In addition to being the base class for print system objects, this class can be useful for calling methods when your application does not know or does not care what particular type of print system object it is using. For example, you could enumerate through a PrintSystemObjects collection of different object types, calling the Commit method on each of them in turn.


Classes within the System.Printing namespace are not supported for use within a Windows service or ASP.NET application or service. Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time exceptions.

If you want to print from a Windows Forms application, see the System.Drawing.Printing namespace.

Notes to Inheritors

If you derive a class from PrintSystemObject, you may want to derive a collection of objects of that class from PrintSystemObjects.


PrintSystemObject() PrintSystemObject() PrintSystemObject() PrintSystemObject()

Initializes a new instance of the PrintSystemObject class.

PrintSystemObject(PrintSystemObjectLoadMode) PrintSystemObject(PrintSystemObjectLoadMode) PrintSystemObject(PrintSystemObjectLoadMode) PrintSystemObject(PrintSystemObjectLoadMode)

Initializes a new instance of the PrintSystemObject class by using the specified PrintSystemObjectLoadMode.


IsDisposed IsDisposed IsDisposed IsDisposed

Gets or sets a value that indicates whether the object has been disposed.

Name Name Name Name

Gets the name of the object.

Parent Parent Parent Parent

Gets the parent of the object.

PropertiesCollection PropertiesCollection PropertiesCollection PropertiesCollection

Gets a collection of attribute and value pairs.


BaseAttributeNames() BaseAttributeNames() BaseAttributeNames() BaseAttributeNames()

Gets the names of the attributes of the derived class.

Commit() Commit() Commit() Commit()

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.

Dispose() Dispose() Dispose() Dispose()

Releases all resources used by the PrintSystemObject.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases the unmanaged resources used by the PrintSystemObject and optionally releases the managed resources.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

Releases the resources that are being used by the PrintSystemObject.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize() Initialize() Initialize() Initialize()

Initializes the properties of the PrintSystemObject.

InternalDispose(Boolean) InternalDispose(Boolean) InternalDispose(Boolean) InternalDispose(Boolean)

When overridden in a derived class, releases the unmanaged resources that are being used by the PrintSystemObject, and optionally releases the managed resources that are being used.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Refresh() Refresh() Refresh() Refresh()

When overridden in a derived class, updates the properties of an object of the derived class so that its values match the values of the actual software or hardware component that the object represents.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to