PrintPort PrintPort PrintPort PrintPort Class

Definition

Represents a printer port on a print server. Each print queue has a print port assigned to it.

public ref class PrintPort sealed : System::Printing::PrintSystemObject
public sealed class PrintPort : System.Printing.PrintSystemObject
type PrintPort = class
    inherit PrintSystemObject
Public NotInheritable Class PrintPort
Inherits PrintSystemObject
Inheritance

Remarks

The PrintQueue.QueuePort property holds the PrintPort object that is assigned to the queue.

Caution

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.

Methods

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

Do not use.

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

Releases all resources used by the PrintSystemObject.

(Inherited from PrintSystemObject)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

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

(Inherited from PrintSystemObject)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
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.

(Inherited from 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.

(Inherited from PrintSystemObject)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

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

Do not use.

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

Returns a string that represents the current object.

(Inherited from Object)

Properties

IsDisposed IsDisposed IsDisposed IsDisposed

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

(Inherited from PrintSystemObject)
Name Name Name Name

Gets the name of the object.

(Inherited from PrintSystemObject)
Parent Parent Parent Parent

Gets the parent of the object.

(Inherited from PrintSystemObject)
PropertiesCollection PropertiesCollection PropertiesCollection PropertiesCollection

Gets a collection of attribute and value pairs.

(Inherited from PrintSystemObject)

Applies to