Writes lines to a file.
Namespace: Composite.Core.IO.Plugins.IOProviderAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
| C# |
|---|
void WriteAllLines( string path, IEnumerable<string> contents ) |
| Visual Basic |
|---|
Sub WriteAllLines ( _ path As String, _ contents As IEnumerable(Of String) _ ) |
| Visual C++ |
|---|
void WriteAllLines( String^ path, IEnumerable<String^>^ contents ) |
Parameters
- path
- Type: System..::..String
Path to file to write to.
- contents
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'String>)>)>
Lines to write.