PrintJob.Deleted Property

Retruns true if the print job has been deleted

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

Property Value

True if this print job has been deleted



[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


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.