PrintJob.Deleting Property

Returns true if the print job is being deleted

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

Property Value

True if this print job is being 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.