| WikiDateTimeOffsetConverterRead Method |
This is preliminary documentation and is subject to change.
Reads and converts the JSON to type T.
Namespace: WikiClientLibrary.InfrastructuresAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public override DateTimeOffset Read(
ref Utf8JsonReader reader,
Type typeToConvert,
JsonSerializerOptions options
)
Public Overrides Function Read (
ByRef reader As Utf8JsonReader,
typeToConvert As Type,
options As JsonSerializerOptions
) As DateTimeOffset
Dim instance As WikiDateTimeOffsetConverter
Dim reader As Utf8JsonReader
Dim typeToConvert As Type
Dim options As JsonSerializerOptions
Dim returnValue As DateTimeOffset
returnValue = instance.Read(reader, typeToConvert,
options)
public:
virtual DateTimeOffset Read(
Utf8JsonReader% reader,
Type^ typeToConvert,
JsonSerializerOptions^ options
) override
abstract Read :
reader : Utf8JsonReader byref *
typeToConvert : Type *
options : JsonSerializerOptions -> DateTimeOffset
override Read :
reader : Utf8JsonReader byref *
typeToConvert : Type *
options : JsonSerializerOptions -> DateTimeOffset
Parameters
- reader Utf8JsonReader
- The reader.
- typeToConvert Type
- The type to convert.
- options JsonSerializerOptions
- An object that specifies serialization options to use.
Return Value
DateTimeOffsetThe converted value.
See Also