JsonMetadataServices.CreateValueInfo<T> 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 metadata for a primitive or a type with a custom converter.
public:
generic <typename T>
static System::Text::Json::Serialization::Metadata::JsonTypeInfo<T> ^ CreateValueInfo(System::Text::Json::JsonSerializerOptions ^ options, System::Text::Json::Serialization::JsonConverter ^ converter);
public static System.Text.Json.Serialization.Metadata.JsonTypeInfo<T> CreateValueInfo<T> (System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.JsonConverter converter);
static member CreateValueInfo : System.Text.Json.JsonSerializerOptions * System.Text.Json.Serialization.JsonConverter -> System.Text.Json.Serialization.Metadata.JsonTypeInfo<'T>
Public Shared Function CreateValueInfo(Of T) (options As JsonSerializerOptions, converter As JsonConverter) As JsonTypeInfo(Of T)
Type Parameters
- T
The generic type definition.
Parameters
- options
- JsonSerializerOptions
The JsonSerializerOptions to use for serialization and deserialization.
- converter
- JsonConverter
Returns
A JsonTypeInfo<T> instance representing the type.
Remarks
This API is for use by the output of the System.Text.Json source generator and should not be called directly.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.