| FileRevisionExtMetadataValueValue Property |
This is preliminary documentation and is subject to change.
Metadata value JSON.
Namespace: WikiClientLibrary.FilesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public JsonElement Value { get; init; }
Public Property Value As JsonElement
Get
Set
Dim instance As FileRevisionExtMetadataValue
Dim value As JsonElement
value = instance.Value
instance.Value = value
public:
property JsonElement Value {
JsonElement get ();
void set (JsonElement value);
}
member Value : JsonElement with get, set
Property Value
JsonElementRemarks
According to
mw:API:Imageinfo,
the metadata value is expected to be formatted HTML expression.
But sometimes the value could be a JSON
string of
"True",
"true", or a JSON number.
You need to retrieve the corresponding JSON value into your expected CLR type before working on it.
Alternatively, you can leverage the
GetValueAs* APIs in this class for more resilient type conversion.
See Also