Język

PrintServerProperty Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy PrintServerProperty.

Przeciążenia

Nazwa Opis
PrintServerProperty(String)

Inicjuje nowe wystąpienie PrintServerProperty 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 nowe wystąpienie PrintServerProperty 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 reprezentowanej PrintServerProperty przez obiekt .

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 właściwość HostingPrintServer obiektu PrintQueue 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 reprezentowanej PrintServerProperty przez obiekt .

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 właściwość HostingPrintServer obiektu PrintQueue musi być wpisana "HostingPrintServer", a nie "PrintServer" lub "Hostingprintserver".

Dotyczy