FileAppendAllText 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: CMS.AzureStorageAssembly: CMS.AzureStorage (in CMS.AzureStorage.dll) Version: 13.0.131
Syntax public override void AppendAllText(
string path,
string contents
)
Parameters
- path
- Type: SystemString
Path - contents
- Type: SystemString
Content to write.
Exceptions Exception | Condition |
---|
ArgumentNullException | path is null |
ArgumentException | path is empty or contains invalid characters |
PathTooLongException | path is too long |
See Also