IConventionProperty.SetJsonValueReaderWriterType(Type, Boolean) メソッド

定義

このプロパティに使用する の JsonValueReaderWriter<TValue> 型を設定します。

public Type? SetJsonValueReaderWriterType (Type? readerWriterType, bool fromDataAnnotation = false);
abstract member SetJsonValueReaderWriterType : Type * bool -> Type
Public Function SetJsonValueReaderWriterType (readerWriterType As Type, Optional fromDataAnnotation As Boolean = false) As Type

パラメーター

readerWriterType
Type

から継承 JsonValueReaderWriter<TValue>される型、または null 型マッピングからリーダー/ライターを使用する型。

fromDataAnnotation
Boolean

構成がデータ注釈を使用して指定されたかどうかを示します。

戻り値

構成された値です。

適用対象