Click or drag to resize

SerializableEntityLoad(String) Method

This is preliminary documentation and is subject to change.

Loads exactly 1 SerializableEntity from the specified file.

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

Parameters

fileName  String
The path of file containing the serialized JSON of a single entity.

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