Redigera

Dela via


PrintDateTimeProperty Constructors

Definition

Initializes a new instance of the PrintDateTimeProperty class.

Overloads

PrintDateTimeProperty(String)

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

PrintDateTimeProperty(String, Object)

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

PrintDateTimeProperty(String)

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

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

Parameters

attributeName
String

The name of the DateTime property that the PrintDateTimeProperty represents.

Remarks

The attributeName should be spelled exactly the same as the name of some particular DateTime property of a print system object, including casing. For example, the StartTimeOfDay property of a PrintSystemJobInfo object must be spelled "StartTimeOfDay", not "StartTime" or "Starttimeofday".

Applies to

PrintDateTimeProperty(String, Object)

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

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

Parameters

attributeName
String

The name of the DateTime property that the PrintDateTimeProperty represents.

attributeValue
Object

The value of the property that the PrintDateTimeProperty represents.

Remarks

The attributeName should be spelled exactly the same as the name of some particular DateTime property of a print system object, including casing. For example, the StartTimeOfDay property of a PrintSystemJobInfo object must be spelled "StartTimeOfDay", not "StartTime" or "Starttimeofday".

Applies to