TextOutputStream.Handle

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aTextOutputStream.Handle(Type as Integer)

New in 2005R5

Supported for all project types and targets.

Handle returns a handle of the Type passed or -1 if the requested Type cannot be retrieved.

Notes

The class constants given below can be passed as the parameter.

Value Class Constant Description
1 HandleTypeWin32Handle A Windows32 OS handle.
2 HandleTypeFilePointer A file pointer.
3 HandleTypeFileNumber A file descriptor
4 HandleTypeMacFileRefNum A file reference number.
5 HandleTypeMacFileSpecPointer An FSSpec.