Επεξεργασία

Κοινή χρήση μέσω


PrintQueueStatusProperty Constructors

Definition

Initializes a new instance of the PrintQueueStatusProperty class.

Overloads

PrintQueueStatusProperty(String)

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

PrintQueueStatusProperty(String, Object)

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

PrintQueueStatusProperty(String)

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

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

Parameters

attributeName
String

The name of the PrintQueueStatus property that the PrintQueueStatusProperty represents.

Remarks

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

Applies to

PrintQueueStatusProperty(String, Object)

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

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

Parameters

attributeName
String

The name of the PrintQueueStatus property that the PrintQueueStatusProperty represents.

attributeValue
Object

The value of the property that the PrintQueueStatusProperty represents.

Remarks

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

Applies to