Sdílet prostřednictvím


PrintQueueProperty Konstruktory

Definice

Inicializuje novou instanci PrintQueueProperty třídy.

Přetížení

Name Description
PrintQueueProperty(String)

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

PrintQueueProperty(String, Object)

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

PrintQueueProperty(String)

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

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

Parametry

attributeName
String

Název PrintQueue vlastnosti, která PrintQueueProperty představuje.

Poznámky

Měl attributeName by být napsaný přesně stejně jako název určité PrintQueue vlastnosti tiskového systémového objektu, včetně velikostí. Například HostingPrintQueue vlastnost objektu PrintSystemJobInfo musí být napsaná "HostingPrintQueue", nikoli "PrintQueue" nebo "Hostingprintqueue".

Platí pro

PrintQueueProperty(String, Object)

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

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

Parametry

attributeName
String

Název PrintQueue vlastnosti, která PrintQueueProperty představuje.

attributeValue
Object

Hodnota vlastnosti, která PrintQueueProperty představuje.

Poznámky

Měl attributeName by být napsaný přesně stejně jako název určité PrintQueue vlastnosti tiskového systémového objektu, včetně velikostí. Například HostingPrintQueue vlastnost objektu PrintSystemJobInfo musí být napsaná "HostingPrintQueue", nikoli "PrintQueue" nebo "Hostingprintqueue".

Platí pro