nw::io::IOStream::IsAvailable Member Function

Syntax

bool IsAvailable() const;

Arguments

None.

Return Values

Returns true if this stream can currently be used. Returns false if the stream cannot be used due to some reason such as the file not being open.

Description

Gets a value indicating whether the stream is currently available.

If the return value is false, the reason is likely to be due to the fact that the file was not opened normally or that it is aleady closed.

Revision History

2009/10/20
Initial version.

CONFIDENTIAL