PrintPort Class
.NET Framework 4.5
Represents a printer port on a print server. Each print queue has a print port assigned to it.
Namespace: System.Printing
Assembly: System.Printing (in System.Printing.dll)
The PrintPort type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Name | Gets the name of the object. (Inherited from PrintSystemObject.) |
![]() | Parent | Gets the parent of the object. (Inherited from PrintSystemObject.) |
![]() | PropertiesCollection | Gets a collection of attribute and value pairs. (Inherited from PrintSystemObject.) |
| Name | Description | |
|---|---|---|
![]() | Commit | Do not use. (Overrides PrintSystemObject.Commit().) |
![]() | Dispose() | Releases all resources used by the PrintSystemObject. (Inherited from PrintSystemObject.) |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Refresh | Do not use. (Overrides PrintSystemObject.Refresh().) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
The PrintQueue.QueuePort property holds the PrintPort object that is assigned to the queue.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
