Click or drag to resize

SerializableEntityLoad(Stream) Method

This is preliminary documentation and is subject to change.

Loads exactly 1 SerializableEntity from the Stream.

Namespace: WikiClientLibrary.Wikibase
Assembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public static SerializableEntity? Load(
	Stream s
)

Parameters

s  Stream
The stream from which to read serialized entity JSON.

Return Value

SerializableEntity
The deserialized entity, or null if the JSON token contained in the stream input is null.
Exceptions
ExceptionCondition
JsonException does not contain a valid JSON object; OR there is extraneous content after the JSON object.
See Also