JsonValueReaderWriter.CreateFromType(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a JsonValueReaderWriter<TValue> instance of the given type, using the Instance
property to get th singleton instance if possible.
public static Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter? CreateFromType (Type? readerWriterType);
static member CreateFromType : Type -> Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter
Public Shared Function CreateFromType (readerWriterType As Type) As JsonValueReaderWriter
Parameters
- readerWriterType
- Type
The type, which must inherit from JsonValueReaderWriter<TValue>.
Returns
The reader/writer instance./
Exceptions
if the type does not represent a JsonValueReaderWriter<TValue> that can be instantiated.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for