PrintJobStatusProperty Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the PrintJobStatusProperty class.
Overloads
PrintJobStatusProperty(String) |
Initializes a new instance of the PrintJobStatusProperty class for the specified property. |
PrintJobStatusProperty(String, Object) |
Initializes a new instance of the PrintJobStatusProperty class that has the specified value for the specified property. |
PrintJobStatusProperty(String)
Initializes a new instance of the PrintJobStatusProperty class for the specified property.
public:
PrintJobStatusProperty(System::String ^ attributeName);
public PrintJobStatusProperty (string attributeName);
new System.Printing.IndexedProperties.PrintJobStatusProperty : string -> System.Printing.IndexedProperties.PrintJobStatusProperty
Public Sub New (attributeName As String)
Parameters
- attributeName
- String
The name of the PrintJobStatus property that the PrintJobStatusProperty represents.
Remarks
The attributeName
should be spelled exactly the same as the name of some particular PrintJobStatus property of a print system object, including casing. For example, the JobStatus property of a PrintSystemJobInfo object must be spelled "JobStatus", not "Status" or "Jobstatus".
Applies to
PrintJobStatusProperty(String, Object)
Initializes a new instance of the PrintJobStatusProperty class that has the specified value for the specified property.
public:
PrintJobStatusProperty(System::String ^ attributeName, System::Object ^ attributeValue);
public PrintJobStatusProperty (string attributeName, object attributeValue);
new System.Printing.IndexedProperties.PrintJobStatusProperty : string * obj -> System.Printing.IndexedProperties.PrintJobStatusProperty
Public Sub New (attributeName As String, attributeValue As Object)
Parameters
- attributeName
- String
The name of the PrintJobStatus property that the PrintJobStatusProperty represents.
- attributeValue
- Object
The value of the property that the PrintJobStatusProperty represents.
Remarks
The attributeName
should be spelled exactly the same as the name of some particular PrintJobStatus property of a print system object, including casing. For example, the JobStatus property of a PrintSystemJobInfo object must be spelled "JobStatus", not "Status" or "Jobstatus".