| SerializableEntityLoad(Stream) Method |
This is preliminary documentation and is subject to change.
Namespace: WikiClientLibrary.WikibaseAssembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static SerializableEntity? Load(
Stream s
)
Public Shared Function Load (
s As Stream
) As SerializableEntity
Dim s As Stream
Dim returnValue As SerializableEntity
returnValue = SerializableEntity.Load(s)
public:
static SerializableEntity^ Load(
Stream^ s
)
static member Load :
s : Stream -> SerializableEntity
Parameters
- s Stream
- The stream from which to read serialized entity JSON.
Return Value
SerializableEntityThe deserialized entity, or
null if the JSON token contained in the stream input is
null.
Exceptions Exception | Condition |
---|
JsonException | does not contain a valid JSON object; OR there is extraneous content after the JSON object. |
See Also