| SerializableEntityLoad(String) 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(
string fileName
)
Public Shared Function Load (
fileName As String
) As SerializableEntity
Dim fileName As String
Dim returnValue As SerializableEntity
returnValue = SerializableEntity.Load(fileName)
public:
static SerializableEntity^ Load(
String^ fileName
)
static member Load :
fileName : string -> SerializableEntity
Parameters
- fileName String
- The path of file containing the serialized JSON of a single entity.
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