VFile.CreateText Method
Namespace: Rebex.IO
Assembly: Rebex.FileSystem.dll (version 7.0.9147)
CreateText(String)
Method returns Streampath
.
A caller must dispose the returned Stream
Declaration
public static StreamWriter CreateText(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path of the file. |
Returns
Type | Description |
---|---|
Stream |
Stream |
Remarks
Method creates the file if it does not exist. When the file exists then the content of the existing file is truncated.
Returned instance of the Stream