Udostępnij za pośrednictwem


PrintProcessorProperty Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy PrintProcessorProperty.

Przeciążenia

Nazwa Opis
PrintProcessorProperty(String)

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

PrintProcessorProperty(String, Object)

Inicjuje PrintProcessorProperty nowe wystąpienie klasy, która ma określoną wartość dla określonej właściwości.

PrintProcessorProperty(String)

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

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

Parametry

attributeName
String

Przekonwertowana PrintProcessorProperty wartość .

Uwagi

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

Dotyczy

PrintProcessorProperty(String, Object)

Inicjuje PrintProcessorProperty nowe wystąpienie klasy, która ma określoną wartość dla określonej właściwości.

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

Parametry

attributeName
String

Nazwa PrintProcessor właściwości reprezentowanej PrintProcessorProperty przez obiekt .

attributeValue
Object

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

Uwagi

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

Dotyczy