PrintDriverProperty Constructors

Definition

Initializes a new instance of the PrintDriverProperty class.

Overloads

PrintDriverProperty(String)

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

PrintDriverProperty(String, Object)

Initializes a new instance of the PrintDriverProperty class that has the specified value for the specified attribute.

PrintDriverProperty(String)

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

public PrintDriverProperty (string attributeName);

Parameters

attributeName
String

The name of the PrintDriver property that the PrintDriverProperty represents.

Remarks

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

Applies to

.NET Framework 4.8.1 og andre versjoner
Produkt Versjoner
.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

PrintDriverProperty(String, Object)

Initializes a new instance of the PrintDriverProperty class that has the specified value for the specified attribute.

public PrintDriverProperty (string attributeName, object attributeValue);

Parameters

attributeName
String

The name of the PrintDriver property that the PrintDriverProperty represents.

attributeValue
Object

The value of the property that the PrintDriverProperty represents.

Remarks

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

Applies to

.NET Framework 4.8.1 og andre versjoner
Produkt Versjoner
.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