 | IStorageServiceHandlerAppendAllText Method (String, String) |
Opens a file, appends the specified string to the file, and then closes the file. If the file does not exist, this method creates a file, writes the specified string to the file, 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)
SyntaxTask AppendAllText(
string path,
string contents
)
Parameters
- path
- Type: SystemString
The file to append the specified string to. - contents
- Type: SystemString
The string to append to the file.
Return Value
Type:
TaskThe
Task object representing the asynchronous operation.
Version InformationPortable
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