Method ReadObject
ReadObject()
Reads an object of type System.Object from the current stream and advances the stream position.
Declaration
public abstract object ReadObject()
Returns
Type | Description |
---|---|
System.Object | object read from the stream |
ReadObject(Object)
Reads an object of type System.Object from the current stream and advances the stream position.
Declaration
public abstract object ReadObject(object defaultValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | defaultValue | Default value to be used for deserializing old version of the object |
Returns
Type | Description |
---|---|
System.Object | object read from the stream |