Writes lines to a file.

Namespace: Composite.Core.IO.Plugins.IOProvider
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

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.

See Also