'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function CreateStreamWriter( _ ByVal writableFileInfo As IWritableFileInfo, _ ByVal encoding As Encoding _ ) As StreamWriter
'Usage
Dim writableFileInfo As IWritableFileInfo Dim encoding As Encoding Dim value As StreamWriter value = IWritableFileInfoExtension.CreateStreamWriter(writableFileInfo, encoding)
[Extension()] [NotNull()] public static StreamWriter CreateStreamWriter( IWritableFileInfo writableFileInfo, Encoding encoding )
[Extension()] [NotNull()] public: static StreamWriter^ CreateStreamWriter( IWritableFileInfo^ writableFileInfo, 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). - 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).