Cimbalino Toolkit
Cimbalino Toolkit
API Reference
Cimbalino.Toolkit.Services
StorageServiceHandler Class
StorageServiceHandler Methods
AppendAllLines Method
AppendAllLines Method (String, IEnumerable(String))
AppendAllLines Method (String, IEnumerable(String), Encoding)
StorageServiceHandler
AppendAllLines Method (String, IEnumerable
String
, Encoding)
Appends lines to a file by using a specified encoding, and then closes the file.
Namespace:
Cimbalino.Toolkit.Services
Assembly:
Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
Copy
public
virtual
Task
AppendAllLines
(
string
path
,
IEnumerable
<
string
>
contents
,
Encoding
encoding
)
Parameters
path
Type:
System
String
The file to append the lines to. The file is created if it does not already exist.
contents
Type:
System.Collections.Generic
IEnumerable
String
The lines to append to the file.
encoding
Type:
System.Text
Encoding
The character encoding to use.
Return Value
Type:
Task
The
Task
object representing the asynchronous operation.
Implements
IStorageServiceHandler
AppendAllLines(String, IEnumerable
String
, Encoding)
Version Information
Windows
Supported in: 10.0, 8.1
Windows Phone
Supported in: 8.1
Windows Phone Silverlight
Supported in: 8.1, 8.0
See Also
Reference
StorageServiceHandler Class
AppendAllLines Overload
Cimbalino.Toolkit.Services Namespace