JsonMetadataServices.CreateIReadOnlySetInfo<TCollection,TElement> Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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)
Parâmetros de Tipo Genérico
- TCollection
- TElement
Parâmetros
- options
- JsonSerializerOptions
- collectionInfo
- JsonCollectionInfoValues<TCollection>