Io.status Method

Retrieves the status of the last operation performed on the Io object.

Syntax

public IO_Status status()

Run On

Called

Return Value

Type: IO_Status Enumeration
The status of the last operation, as an IO_Status system enumeration value.

Remarks

The range of possible IO_Status values returned varies among Io Classes.

Examples

static void myExample(Args _args) 
{ 
    Io myIo; 
 
    //.. create io object and perform some operations 
    if (myIo.status()==IO_Status::OK) 
    { 
        // ...go ahead - last operation was successful 
    } 
}

See Also

Io Class

IO_Status Enumeration