IOperationResult class

IOperationResult class

The general operation result interface.

The IOperationResult type exposes the following members:

Properties

NameDescription
is_fileIndicates whether the result is a file path.
is_streamIndicates whether the result is a stream.
is_stringIndicates whether the result is a string.
is_byte_arrayIndicates whether the result is a byte array.
dataGets raw data.

Methods

NameDescription
to_file()Tries to convert the result to a file.
to_stream()Tries to convert the result to a stream.

See Also