Sdílet prostřednictvím


PrintServerProperty Konstruktory

Definice

Inicializuje novou instanci PrintServerProperty třídy .

Přetížení

PrintServerProperty(String)

Inicializuje novou instanci PrintServerProperty třídy pro zadanou vlastnost.

PrintServerProperty(String, Object)

Inicializuje novou instanci PrintServerProperty třídy, která má zadanou hodnotu pro zadanou vlastnost.

PrintServerProperty(String)

Inicializuje novou instanci PrintServerProperty třídy pro zadanou vlastnost.

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

Název PrintServer vlastnosti, která PrintServerProperty představuje.

Poznámky

Hodnota attributeName by měla být napsaná přesně stejně jako název některé konkrétní PrintServer vlastnosti objektu tiskového systému, včetně použití malých a malých a malých. Například HostingPrintServer vlastnost objektu PrintQueue musí být napsaná "HostingPrintServer", nikoli "PrintServer" nebo "Hostingprintserver".

Platí pro

PrintServerProperty(String, Object)

Inicializuje novou instanci PrintServerProperty třídy, která má zadanou hodnotu pro zadanou vlastnost.

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

Název PrintServer vlastnosti, která PrintServerProperty představuje.

attributeValue
Object

Hodnota vlastnosti, kterou PrintServerProperty představuje.

Poznámky

Hodnota attributeName by měla být napsaná přesně stejně jako název některé konkrétní PrintServer vlastnosti objektu tiskového systému, včetně použití malých a malých a malých. Například HostingPrintServer vlastnost objektu PrintQueue musí být napsaná "HostingPrintServer", nikoli "PrintServer" nebo "Hostingprintserver".

Platí pro