Edit

Share via


PrintDriverProperty Constructors

Definition

Initializes a new instance of the PrintDriverProperty class.

Overloads

PrintDriverProperty(String)

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

PrintDriverProperty(String, Object)

Initializes a new instance of the PrintDriverProperty class that has the specified value for the specified attribute.

PrintDriverProperty(String)

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

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

Parameters

attributeName
String

The name of the PrintDriver property that the PrintDriverProperty represents.

Remarks

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

Applies to

PrintDriverProperty(String, Object)

Initializes a new instance of the PrintDriverProperty class that has the specified value for the specified attribute.

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

Parameters

attributeName
String

The name of the PrintDriver property that the PrintDriverProperty represents.

attributeValue
Object

The value of the property that the PrintDriverProperty represents.

Remarks

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

Applies to