Writes text to a file.
Namespace: Composite.Core.IOAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
| C# |
|---|
public static void WriteAllText( string path, string contents ) |
| Visual Basic |
|---|
Public Shared Sub WriteAllText ( _ path As String, _ contents As String _ ) |
| Visual C++ |
|---|
public: static void WriteAllText( String^ path, String^ contents ) |
Parameters
- path
- Type: System..::..String
Path to file to write to.
- contents
- Type: System..::..String
Text to write.