JsonMetadataServices.CreateIReadOnlySetInfo<TCollection,TElement> Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
public:
generic <typename TCollection, typename TElement>
where TCollection : System::Collections::Generic::IReadOnlySet<TElement> static System::Text::Json::Serialization::Metadata::JsonTypeInfo<TCollection> ^ CreateIReadOnlySetInfo(System::Text::Json::JsonSerializerOptions ^ options, System::Text::Json::Serialization::Metadata::JsonCollectionInfoValues<TCollection> ^ collectionInfo);
public static System.Text.Json.Serialization.Metadata.JsonTypeInfo<TCollection> CreateIReadOnlySetInfo<TCollection,TElement>(System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : System.Collections.Generic.IReadOnlySet<TElement>;
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)
Typparametrar
- TCollection
- TElement
Parametrar
- options
- JsonSerializerOptions
- collectionInfo
- JsonCollectionInfoValues<TCollection>