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