PrintJob.Deleted Property

Retruns true if the print job has been deleted

[Visual Basic]
Public ReadOnly Property Deleted As Boolean
[C#]
public bool Deleted {get;}
[C++]
public: __property bool get_Deleted();
[JScript]
public function get Deleted() : boolean;

Property Value

True if this print job has been deleted

Remarks

Example

[Visual Basic] The following example prints the status of a job to a trace

[Visual Basic] 
Public Sub TraceStatus(ByVal pjIn As PrintJob)

   With pjIn
        Trace.WriteLine("** Paused? " & .Paused.ToString)
        Trace.WriteLine("** Deleted? " & .Deleted.ToString)
        Trace.WriteLine("** Deleting? " & .Deleting.ToString)
        Trace.WriteLine("** Printed? " & .Printed.ToString)
        Trace.WriteLine("** Printing? " & .Printing.ToString)
        Trace.WriteLine("** User intervention required? " & .UserInterventionRequired.ToString)
   End With

End Sub

Requirements

Namespace: PrinterQueueWatch

Platforms:  Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

PrintJob overview , All PrintJob members


© 2003 Merrion Computing Ltd. All rights reserved.