Click or drag to resize

SftpClientAppendAllLines(String, IEnumerableString) Method

Appends lines to a file, and then closes the file.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public void AppendAllLines(
	string path,
	IEnumerable<string> contents
)

Parameters

path  String
The file to append the lines to. The file is created if it does not already exist.
contents  IEnumerableString
The lines to append to the file.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath isnull

-or-

contents is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also