Redigera

Dela via


PrintProcessorProperty Constructors

Definition

Initializes a new instance of the PrintProcessorProperty class.

Overloads

PrintProcessorProperty(String)

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

PrintProcessorProperty(String, Object)

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

PrintProcessorProperty(String)

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

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

Parameters

attributeName
String

The PrintProcessorProperty that is converted.

Remarks

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

Applies to

PrintProcessorProperty(String, Object)

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

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

Parameters

attributeName
String

The name of the PrintProcessor property that the PrintProcessorProperty represents.

attributeValue
Object

The value of the property that the PrintProcessorProperty represents.

Remarks

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

Applies to