Method ReadBoolean
ReadBoolean()
Reads an object of type System.Boolean from the current stream and advances the stream position. This method reads directly from the underlying stream.
Declaration
public abstract bool ReadBoolean()
Returns
| Type | Description |
|---|---|
| System.Boolean | object read from the stream |
ReadBoolean(Boolean)
Reads an object of type System.Boolean from the current stream and advances the stream position. This method reads directly from the underlying stream.
Declaration
public abstract bool ReadBoolean(bool defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | defaultValue | Default value to be used for deserializing old version of the object |
Returns
| Type | Description |
|---|---|
| System.Boolean | bool read from the stream |