APGen Documentation Previous Topic: Output Object Next Topic: Output.Filename Parent Topic: Output Object    Output Object
Output.Class
See Also:

The Output.Class property returns the class of the Output.Stream.

Syntax

VBScript:

sClass = Output.Class

JScript:

sClass = Output.Class;

Object

Output The Output object.

Return Value

sClass A string describing the class of the output stream.  The possible values are:

"" The output stream is not open.
"file" The output stream writes to a file.
"stream" The output stream writes to a custom IStream object.

Notes

We realize that class is an overloaded term.  In this case, there are several possible classes of output streams, and each class behaves differently.  Currently, there are only file streams and custom streamsCustom streams implement only the IStream interface, whereas other classes of streams implement additional interfaces.  Future versions of APGen will likely include FTP and WebDAV streams.

The Output.Class property can be used to determine whether the output stream is open and writing to a file or stream.

Applies To

Output Object