'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function CreateStreamWriter( _ ByVal writableFileInfo As IWritableFileInfo, _ ByVal append As Boolean, _ ByVal encoding As Encoding _ ) As StreamWriter
'Usage
Dim writableFileInfo As IWritableFileInfo Dim append As Boolean Dim encoding As Encoding Dim value As StreamWriter value = IWritableFileInfoExtension.CreateStreamWriter(writableFileInfo, append, encoding)
[Extension()] [NotNull()] public static StreamWriter CreateStreamWriter( IWritableFileInfo writableFileInfo, bool append, Encoding encoding )
[Extension()] [NotNull()] public: static StreamWriter^ CreateStreamWriter( IWritableFileInfo^ writableFileInfo, bool append, Encoding^ encoding )
Parameters
- writableFileInfo
- The writable file info object that will perform the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - append
- Specifies whether to append the text to the file.
- encoding
- The character encoding to use.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).