'Declaration
<ExtensionAttribute()> Public Overloads Shared Sub WriteAllText( _ ByVal writableFileInfo As IWritableFileInfo, _ ByVal text As String, _ ByVal append As Boolean _ )
'Usage
Dim writableFileInfo As IWritableFileInfo Dim text As String Dim append As Boolean IWritableFileInfoExtension.WriteAllText(writableFileInfo, text, append)
[Extension()] public static void WriteAllText( IWritableFileInfo writableFileInfo, string text, bool append )
[Extension()] public: static void WriteAllText( IWritableFileInfo^ writableFileInfo, String^ text, bool append )
Parameters
- writableFileInfo
- The writable file info object that will perform the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - text
- Text to be written to file.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - append
True
to append to the file contents;False
to overwrite the file contents. Default isFalse
.