PrintQueueStatusProperty Constructors

Definition

Initializes a new instance of the PrintQueueStatusProperty class.

Overloads

PrintQueueStatusProperty(String)

Initializes a new instance of the PrintQueueStatusProperty class for the specified property.

PrintQueueStatusProperty(String, Object)

Initializes a new instance of the PrintQueueStatusProperty class that has the specified value for the specified property.

PrintQueueStatusProperty(String)

Initializes a new instance of the PrintQueueStatusProperty class for the specified property.

C#
public PrintQueueStatusProperty(string attributeName);

Parameters

attributeName
String

The name of the PrintQueueStatus property that the PrintQueueStatusProperty represents.

Remarks

The attributeName should be spelled exactly the same as the name of some particular PrintQueueStatus property of a print system object, including casing. For example, the QueueStatus property of a PrintQueue object must be spelled "QueueStatus", not "Status" or "Queuestatus".

Applies to

.NET Framework 4.8.1 ja muut versiot
Tuote Versiot
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

PrintQueueStatusProperty(String, Object)

Initializes a new instance of the PrintQueueStatusProperty class that has the specified value for the specified property.

C#
public PrintQueueStatusProperty(string attributeName, object attributeValue);

Parameters

attributeName
String

The name of the PrintQueueStatus property that the PrintQueueStatusProperty represents.

attributeValue
Object

The value of the property that the PrintQueueStatusProperty represents.

Remarks

The attributeName should be spelled exactly the same as the name of some particular PrintQueueStatus property of a print system object, including casing. For example, the QueueStatus property of a PrintQueue object must be spelled "QueueStatus", not "Status" or "Queuestatus".

Applies to

.NET Framework 4.8.1 ja muut versiot
Tuote Versiot
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10