Opens the specified stream for reading.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static StreamReader OpenStream( Stream stream, Encoding defaultEncoding )
Public Shared Function OpenStream ( _ stream As Stream, _ defaultEncoding As Encoding _ ) As StreamReader
public: static StreamReader^ OpenStream( Stream^ stream, Encoding^ defaultEncoding )
Return Value
Returns a StreamReader that reads from the stream. Use
CurrentEncoding to get the encoding that was used.
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238