[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Inherit=TextReader Interfaces=MarshalByRefObject,Object,StreamReader Info=Implements a TextReader that reads characters from a byte stream in a particular encoding. [Property] Name=Sets the name of the component. ARG(string)|2| +Path=Sets the complete file path to be read. ARG(string)|2| Encoding=Sets the character encoding to use. ARG(Encoding)|20|(empty)|Encoding DetectEncoding=Sets a value indicating whether to look for byte order marks at the beginning of the file. ARG(bool)|14|1|true,false BufferSize=Sets the minimum buffer size. ARG(int)|1|0 [Methods] *doClose=Closes the StreamReader object and the underlying stream, and releases any system resources associated with the reader. ARG()|1|0 *doConstructor=Initializes a new instance of the StreamReader class for the specified stream. ARG(Stream stream)|1|0 doConstructor2=Initializes a new instance of the StreamReader class for the specified file name. ARG(string path)|1|0 *doConstructor3=Initializes a new instance of the StreamReader class for the specified stream, with the specified byte order mark detection option. ARG(Stream stream, bool detectEncoding)|1|0 *doConstructor4=Initializes a new instance of the StreamReader class for the specified stream, with the specified character encoding. ARG(Stream stream, Encoding encoding)|1|0 *doConstructor5=Initializes a new instance of the StreamReader class for the specified file name, with the specified byte order mark detection option. ARG(string path, bool detectEncoding)|1|0 *doConstructor6=Initializes a new instance of the StreamReader class for the specified file name, with the specified character encoding. ARG(string path, Encoding encoding)|1|0 *doConstructor7=Initializes a new instance of the StreamReader class for the specified stream, with the specified character encoding and byte order mark detection option. ARG(Stream stream, Encoding encoding, bool detectEncoding)|1|0 *doConstructor8=Initializes a new instance of the StreamReader class for the specified file name, with the specified character encoding and byte order mark detection option. ARG(string path, Encoding encoding, bool detectEncoding)|1|0 *doConstructor9=Initializes a new instance of the StreamReader class for the specified stream, with the specified character encoding, byte order mark detection option, and buffer size. ARG(Stream stream, Encoding encoding, bool detectEncoding, int bufferSize)|1|0 *doConstructor10=Initializes a new instance of the StreamReader class for the specified file name, with the specified character encoding, byte order mark detection option, and buffer size. ARG(string path, Encoding encoding, bool detectEncoding, int bufferSize)|1|0 *doDiscardBufferedData=Clears the internal buffer. ARG()|1|0 onError=If an error occurs, an error message appears. ARG(string)|2|2 *BaseStream=Returns the underlying stream. ARG(Stream)|3|10 *CurrentEncoding=Returns the current character encoding that the current StreamReader object is using. ARG(Encoding)|3|0 *EndOfStream=Returns a value that indicates whether the current stream position is at the end of the stream. ARG(bool)|3|104 *Null=A StreamReader object around an empty stream. ARG(StreamReader)|3|0 *Peek=Returns the next available character but does not consume it. ARG(int)|3|1 *Read=Reads the next character from the input stream and advances the character position by one character. ARG(int)|3|1 *ReadLine=Reads a line of characters from the current stream and returns the data as a string. ARG(string)|3|2 *ReadToEnd=Reads the stream from the current position to the end of the stream. ARG(string)|3|2 StreamReader=Returns the StreamReader object. ARG(StreamReader)|3|0 *BufferSize=Defines the minimum buffer size. ARG(int)|4|1 *DetectEncoding=Defines a value indicating whether to look for byte order marks at the beginning of the file. ARG(bool)|4|104 *Encoding=Defines the character encoding to use. ARG(Encoding)|4|0 Path=Defines the complete file path to be read. ARG(string)|4|2 *Stream=Defines the stream to be read. ARG(Stream)|4|10