JsonMetadataServices.CreateIReadOnlySetInfo 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.
public:
generic
where TCollection : System::Collections::Generic::IReadOnlySet static System::Text::Json::Serialization::Metadata::JsonTypeInfo ^ CreateIReadOnlySetInfo(System::Text::Json::JsonSerializerOptions ^ options, System::Text::Json::Serialization::Metadata::JsonCollectionInfoValues ^ collectionInfo);
public static System.Text.Json.Serialization.Metadata.JsonTypeInfo CreateIReadOnlySetInfo(System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues collectionInfo) where TCollection : System.Collections.Generic.IReadOnlySet;
static member CreateIReadOnlySetInfo : System.Text.Json.JsonSerializerOptions * System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<'Collection (requires 'Collection :> System.Collections.Generic.IReadOnlySet<'Element>)> -> System.Text.Json.Serialization.Metadata.JsonTypeInfo<'Collection (requires 'Collection :> System.Collections.Generic.IReadOnlySet<'Element>)> (requires 'Collection :> System.Collections.Generic.IReadOnlySet<'Element>)
Public Shared Function CreateIReadOnlySetInfo(Of TCollection As IReadOnlySet(Of TElement), TElement As IReadOnlySet(Of TElement)) (options As JsonSerializerOptions, collectionInfo As JsonCollectionInfoValues(Of TCollection)) As JsonTypeInfo(Of TCollection)
Type Parameters
- TCollection
- TElement
Parameters
- options
- JsonSerializerOptions
- collectionInfo
-
JsonCollectionInfoValues