BinaryStream.Create

From Xojo Documentation

Revision as of 17:41, 24 August 2010 by Dbrandt (talk | contribs) (addd Create shared method)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Method

Create(f as FolderItem,overwrite as Boolean) As BinaryStream

New in 2009r3

Supported for all project types and targets.

Creates a binary stream on the passed FolderItem. The Overwrite parameter controls whether the operation can overwrite an existing file. The default is False. Call Create using the syntax for shared methods.

If an error occurs, it will fire an IOException

Example

BinaryStream.Create(f as FolderItem, overwrite as Boolean).