PrintSystemObject Class
TOC
Collapse the table of content
Expand the table of content

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.

Namespace:   System.Printing
Assembly:  System.Printing (in System.Printing.dll)


public abstract class PrintSystemObject : IDisposable

NameDescription
System_CAPS_protmethodPrintSystemObject()

Initializes a new instance of the PrintSystemObject class.

System_CAPS_protmethodPrintSystemObject(PrintSystemObjectLoadMode)

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

NameDescription
System_CAPS_protpropertyIsDisposed

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

System_CAPS_pubpropertyName

Gets the name of the object.

System_CAPS_pubpropertyParent

Gets the parent of the object.

System_CAPS_pubpropertyPropertiesCollection

Gets a collection of attribute and value pairs.

NameDescription
System_CAPS_protmethodSystem_CAPS_staticBaseAttributeNames()

Gets the names of the attributes of the derived class.

System_CAPS_pubmethodCommit()

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_CAPS_pubmethodDispose()

Releases all resources used by the PrintSystemObject.

System_CAPS_protmethodDispose(Boolean)

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

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Releases the resources that are being used by the PrintSystemObject. (Overrides Object.Finalize().)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodInitialize()

Initializes the properties of the PrintSystemObject.

System_CAPS_protmethodInternalDispose(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.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRefresh()

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.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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.

System_CAPS_cautionCaution

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.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft