'Declaration
<ExtensionAttribute()> Public Overloads Shared Sub WriteAllText( _ ByVal writableFileInfo As IWritableFileInfo, _ ByVal text As String _ )
'Usage
Dim writableFileInfo As IWritableFileInfo Dim text As String IWritableFileInfoExtension.WriteAllText(writableFileInfo, text)
[Extension()] public static void WriteAllText( IWritableFileInfo writableFileInfo, string text )
[Extension()] public: static void WriteAllText( IWritableFileInfo^ writableFileInfo, String^ text )
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).