InfoConnect API Guide
Attachmate.Reflection.Productivity Namespace / IScreenHistory Interface / DeleteScreen Method
The zero-based index of the screen to delete from the list.


In This Topic
    DeleteScreen Method
    In This Topic
    Deletes a specific screen from the Screen History list.
    Syntax
    'Declaration
     
    
    Sub DeleteScreen( _
       ByVal index As Integer _
    ) 
    'Usage
     
    
    Dim instance As IScreenHistory
    Dim index As Integer
     
    instance.DeleteScreen(index)
    void DeleteScreen( 
       int index
    )

    Parameters

    index
    The zero-based index of the screen to delete from the list.
    Exceptions
    ExceptionDescription
    This exception is thrown if the index is negative or exceeds the range of available screens.
    Example
    This sample deletes the first screen (the log in screen) in the Screen History list before saving the remaining screens in the list to as images in a Word document and then saving the list to a file.
    See Also