Udostępnij za pośrednictwem


PrintServerProperty Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy PrintServerProperty.

Przeciążenia

PrintServerProperty(String)

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

PrintServerProperty(String, Object)

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

PrintServerProperty(String)

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

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

Parametry

attributeName
String

Nazwa PrintServer właściwości, która PrintServerProperty reprezentuje.

Uwagi

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

Dotyczy

PrintServerProperty(String, Object)

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

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

Parametry

attributeName
String

Nazwa PrintServer właściwości, która PrintServerProperty reprezentuje.

attributeValue
Object

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

Uwagi

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

Dotyczy