JsonMetadataServices.CreateReadOnlyMemoryInfo<TElement> 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 serialization metadata for ReadOnlyMemory<T>.
public:
generic <typename TElement>
static System::Text::Json::Serialization::Metadata::JsonTypeInfo<ReadOnlyMemory<TElement>> ^ CreateReadOnlyMemoryInfo(System::Text::Json::JsonSerializerOptions ^ options, System::Text::Json::Serialization::Metadata::JsonCollectionInfoValues<ReadOnlyMemory<TElement>> ^ collectionInfo);
public static System.Text.Json.Serialization.Metadata.JsonTypeInfo<ReadOnlyMemory<TElement>> CreateReadOnlyMemoryInfo<TElement> (System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<ReadOnlyMemory<TElement>> collectionInfo);
static member CreateReadOnlyMemoryInfo : System.Text.Json.JsonSerializerOptions * System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<ReadOnlyMemory<'Element>> -> System.Text.Json.Serialization.Metadata.JsonTypeInfo<ReadOnlyMemory<'Element>>
Public Shared Function CreateReadOnlyMemoryInfo(Of TElement) (options As JsonSerializerOptions, collectionInfo As JsonCollectionInfoValues(Of ReadOnlyMemory(Of TElement))) As JsonTypeInfo(Of ReadOnlyMemory(Of TElement))
Type Parameters
- TElement
The generic definition of the element type.
Parameters
- options
- JsonSerializerOptions
The JsonSerializerOptions to use.
- collectionInfo
- JsonCollectionInfoValues<ReadOnlyMemory<TElement>>
Provides serialization metadata about the collection type.
Returns
JsonTypeInfo<ReadOnlyMemory<TElement>>
Serialization metadata for the given 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 حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.