แก้ไข

แชร์ผ่าน


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.

public:
 PrintInt32Property(System::String ^ attributeName);
public PrintInt32Property (string attributeName);
new System.Printing.IndexedProperties.PrintInt32Property : string -> System.Printing.IndexedProperties.PrintInt32Property
Public Sub New (attributeName As String)

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

PrintInt32Property(String, Object)

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

public:
 PrintInt32Property(System::String ^ attributeName, System::Object ^ attributeValue);
public PrintInt32Property (string attributeName, object attributeValue);
new System.Printing.IndexedProperties.PrintInt32Property : string * obj -> System.Printing.IndexedProperties.PrintInt32Property
Public Sub New (attributeName As String, attributeValue As Object)

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