PrintInt32Property Constructors

Definition

Initializes a new instance of the PrintInt32Property class.

Overloads

PrintInt32Property(String)

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

PrintInt32Property(String, Object)

Initializes a new instance of the PrintInt32Property class for the specified attribute and gives it the specified value.

PrintInt32Property(String)

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

C#
public PrintInt32Property(string attributeName);

Parameters

attributeName
String

The name of the Int32 property that the PrintInt32Property represents.

Remarks

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

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.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

PrintInt32Property(String, Object)

Initializes a new instance of the PrintInt32Property class for the specified attribute and gives it the specified value.

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

Parameters

attributeName
String

The name of the Int32 property that the PrintInt32Property represents.

attributeValue
Object

The value of Object the property that the PrintInt32Property represents.

Remarks

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

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.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