PrintTicketProperty Constructors

Definition

Initializes a new instance of the PrintTicketProperty class.

Overloads

PrintTicketProperty(String)

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

PrintTicketProperty(String, Object)

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

PrintTicketProperty(String)

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

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

Parameters

attributeName
String

The name of the PrintTicket property that the PrintTicketProperty represents.

Remarks

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

Applies to

PrintTicketProperty(String, Object)

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

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

Parameters

attributeName
String

The name of the PrintTicket property that the PrintTicketProperty represents.

attributeValue
Object

The value of the property that the PrintTicketProperty represents.

Remarks

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

Applies to