Edit

Share via


PrintQueueAttributeProperty Constructors

Definition

Initializes a new instance of the PrintQueueAttributeProperty class.

Overloads

PrintQueueAttributeProperty(String)

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

PrintQueueAttributeProperty(String, Object)

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

PrintQueueAttributeProperty(String)

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

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

Parameters

attributeName
String

The name of the PrintQueueAttributes property that the PrintQueueAttributeProperty represents.

Remarks

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

Applies to

PrintQueueAttributeProperty(String, Object)

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

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

Parameters

attributeName
String

The name of the PrintQueueAttributes property that the PrintQueueAttributeProperty represents.

attributeValue
Object

The value of Object the property that the PrintQueueAttributeProperty represents.

Remarks

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

Applies to