| IStorageServiceHandlerAppendAllLines Method (String, IEnumerableString, Encoding) |
Appends lines to a file by using a specified encoding, and then closes the file.
Namespace: Cimbalino.Toolkit.ServicesAssembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax Task AppendAllLines(
string path,
IEnumerable<string> contents,
Encoding encoding
)
Parameters
- path
- Type: SystemString
The file to append the lines to. The file is created if it does not already exist. - contents
- Type: System.Collections.GenericIEnumerableString
The lines to append to the file. - encoding
- Type: System.TextEncoding
The character encoding to use.
Return Value
Type:
TaskThe
Task object representing the asynchronous operation.
Version Information Portable
Supported in: 4.5
Windows
Supported in: 10.0, 8.1
Windows Phone
Supported in: 8.1
Windows Phone Silverlight
Supported in: 8.1, 8.0
See Also