TextOutputStream.Constructor(handle as Ptr, type as IOStreamHandleTypes)

From Xojo Documentation

Revision as of 21:21, 1 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Constructor

TextOutputStream.Constructor(handle as Ptr, type as IOStreamHandleTypes)

Creates a TextOutputStream instance.

Notes

Type is one of the IOStreamHandleTypes and Handle is the appropriate handle type specified by the Type parameter.

For instance, you can use a Declare to open a file with whatever permissions that you wish, and then pass the Handle to a stream object’s constructor.