StreamReader MembersKentico 8.0 API Reference
The StreamReader type exposes the following members.
Constructors

  NameDescription
Protected methodStreamReader
Creates new instance of stream reader.
Back to Top
Methods

  NameDescription
Public methodClose
Closes the StreamReader object and the underlying stream, and releases any system resources associated with the reader.
(Overrides OnlineTextReader Close .)
Public methodOnlineCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from OnlineMarshalByRefObject.)
Public methodOnlineDispose 
Releases all resources used by the OnlineTextReader object.
(Inherited from OnlineTextReader.)
Protected methodDispose(Boolean)
Releases all resources.
(Overrides OnlineTextReader Dispose(Boolean).)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from OnlineMarshalByRefObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodOnlineInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from OnlineMarshalByRefObject.)
Protected methodOnlineMemberwiseClone 
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone(Boolean)
Creates a shallow copy of the current OnlineMarshalByRefObject object.
(Inherited from OnlineMarshalByRefObject.)
Public methodStatic memberNew(Stream)
Returns new instance of stream reader class.
Public methodStatic memberNew(StreamReader)
Returns new instance of stream reader class.
Public methodStatic memberNew(String)
Returns new instance of stream reader class.
Public methodStatic memberNew(Stream)
Returns new instance of stream reader class.
Public methodStatic memberNew(Stream, Encoding)
Returns new instance of stream reader class.
Public methodPeek
Returns the next available character but does not consume it.
(Overrides OnlineTextReader Peek .)
Public methodRead 
Reads the next character from the input stream and advances the character position by one character.
(Overrides OnlineTextReader Read .)
Public methodOnlineRead( Char , Int32, Int32)
Reads a maximum of count characters from the current stream and writes the data to buffer, beginning at index.
(Inherited from OnlineTextReader.)
Public methodOnlineReadBlock
Reads a maximum of count characters from the current stream, and writes the data to buffer, beginning at index.
(Inherited from OnlineTextReader.)
Public methodReadLine
Reads a line from the underlying string.
(Overrides OnlineTextReader ReadLine .)
Public methodReadToEnd
Reads the stream from the current position to the end of the stream.
(Overrides OnlineTextReader ReadToEnd .)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Properties

  NameDescription
Public propertyEndOfStream
Gets a value that indicates whether the current stream position is at the end of the stream.
Back to Top
See Also