Home Cooker Classes Others Rice CookerGX
Classes  >  writer  >  writer(string)
writer class : writer(string) fitter

Description

Gets a new instance of writer type which is Initialized with the specified file name.

Syntax

new writer(string fullPath)

Arguments

ClassNameDescription
stringfullPathThe complete file path.

Return value

ClassDescription
writerA writer type instance that was initialized by specified value.

Sample code

writer writerInstance = new writer("c:\Users\....\target.txt");

Notes

It's a wrapper of the System.IO.StreamWriter.StreamWriter(String).

This fitter creates a instance of Writer type with UTF-8 encoding without a Byte-Order Mark (BOM).

The instance that was created is initialized as overwrite mode.

Links for reference

Copyright © Rice All rights reserved.