Walter.BOM
WriteFile(FileInfo,String) Method
Walter.BOM Assembly > Walter.BOM Namespace > IControlledDiskIO Interface > WriteFile Method : WriteFile(FileInfo,String) Method
file that will be allowed to be created or replaced
The text that is to be stored.
Writes the file to disk, will create the directory if needed. Will replace any data in file exists
Syntax
void WriteFile( 
   FileInfo file,
   string text
)

Parameters

file
file that will be allowed to be created or replaced
text
The text that is to be stored.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IControlledDiskIO Interface
IControlledDiskIO Members
Overload List