Method LoadStream
LoadStream(TextReader)
Loads IPersistentSettings
content from the specified stream.
public virtual bool LoadStream(TextReader reader)
Parameters
reader
TextReaderThe TextReader object to read.
Returns
- bool
True is succeed; otherwise false.
LoadStream(Stream, Encoding)
Loads IPersistentSettings
content from the specified stream with specified encoding.
public bool LoadStream(Stream stream, Encoding encoding)
Parameters
stream
StreamThe Stream object to load content.
encoding
EncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.
LoadStream(Stream)
Loads IPersistentSettings
content from the specified stream with specified encoding.
public bool LoadStream(Stream stream)
Parameters
stream
StreamThe Stream object to load content.
Returns
- bool
True is succeed; otherwise false.