Writes lines to a file.
Namespace: Composite.Core.IOAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
| C# |
|---|
public static void WriteAllLines( string path, string[] contents ) |
| Visual Basic |
|---|
Public Shared Sub WriteAllLines ( _ path As String, _ contents As String() _ ) |
| Visual C++ |
|---|
public: static void WriteAllLines( String^ path, array<String^>^ contents ) |
Parameters
- path
- Type: System..::..String
Path to file to write to.
- contents
- Type: array<System..::..String>[]()[][]
Lines to write.