Edit

Share via


PrintQueueProperty Constructors

Definition

Initializes a new instance of the PrintQueueProperty class.

Overloads

PrintQueueProperty(String)

Initializes a new instance of the PrintQueueProperty class for the specified property.

PrintQueueProperty(String, Object)

Initializes a new instance of the PrintQueueProperty class that has the specified value for the specified property.

PrintQueueProperty(String)

Initializes a new instance of the PrintQueueProperty class for the specified property.

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)

Parameters

attributeName
String

The name of the PrintQueue property that the PrintQueueProperty represents.

Remarks

The attributeName should be spelled exactly the same as the name of some particular PrintQueue property of a print system object, including casing. For example, the HostingPrintQueue property of a PrintSystemJobInfo object must be spelled "HostingPrintQueue", not "PrintQueue" or "Hostingprintqueue".

Applies to

PrintQueueProperty(String, Object)

Initializes a new instance of the PrintQueueProperty class that has the specified value for the specified property.

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)

Parameters

attributeName
String

The name of the PrintQueue property that the PrintQueueProperty represents.

attributeValue
Object

The value of the property that the PrintQueueProperty represents.

Remarks

The attributeName should be spelled exactly the same as the name of some particular PrintQueue property of a print system object, including casing. For example, the HostingPrintQueue property of a PrintSystemJobInfo object must be spelled "HostingPrintQueue", not "PrintQueue" or "Hostingprintqueue".

Applies to