Files.Write(string, FileHandle) shared Write to a file. Arguments input string file FileHandle Returns integer The number of bytes written. Examples Files.Write – Write to a file.