Udostępnij przez


PrintInt32Property Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy PrintInt32Property.

Przeciążenia

PrintInt32Property(String)

Inicjuje PrintInt32Property nowe wystąpienie klasy dla określonej właściwości.

PrintInt32Property(String, Object)

Inicjuje PrintInt32Property nowe wystąpienie klasy dla określonego atrybutu i nadaje mu określoną wartość.

PrintInt32Property(String)

Inicjuje PrintInt32Property nowe wystąpienie klasy dla określonej właściwości.

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)

Parametry

attributeName
String

Nazwa Int32 właściwości, którą PrintInt32Property reprezentuje.

Uwagi

Powinna attributeName być wpisana dokładnie tak samo jak nazwa określonej Int32 właściwości obiektu systemu wydruku, w tym wielkości liter. Na przykład AveragePagesPerMinute właściwość PrintQueue obiektu musi być wpisana "AveragePagesPerMinute", a nie "AveragePPM" lub "AveragePagesperMinute".

Dotyczy

PrintInt32Property(String, Object)

Inicjuje PrintInt32Property nowe wystąpienie klasy dla określonego atrybutu i nadaje mu określoną wartość.

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)

Parametry

attributeName
String

Nazwa Int32 właściwości, którą PrintInt32Property reprezentuje.

attributeValue
Object

Wartość Object właściwości, którą PrintInt32Property reprezentuje.

Uwagi

Powinna attributeName być wpisana dokładnie tak samo jak nazwa określonej Int32 właściwości obiektu systemu wydruku, w tym wielkości liter. Na przykład AveragePagesPerMinute właściwość PrintQueue obiektu musi być wpisana "AveragePagesPerMinute", a nie "AveragePPM" lub "AveragePagesperMinute".

Dotyczy