'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function CreateStreamWriter( _ ByVal writableFileInfo As IWritableFileInfo, _ ByVal append As Boolean _ ) As StreamWriter
'Usage
Dim writableFileInfo As IWritableFileInfo Dim append As Boolean Dim value As StreamWriter value = IWritableFileInfoExtension.CreateStreamWriter(writableFileInfo, append)
[Extension()] [NotNull()] public static StreamWriter CreateStreamWriter( IWritableFileInfo writableFileInfo, bool append )
[Extension()] [NotNull()] public: static StreamWriter^ CreateStreamWriter( IWritableFileInfo^ writableFileInfo, 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). - append
- Specifies whether to append the text to the file.
Return Value
This method never returns null
(Nothing
in Visual Basic).