JsonMetadataServices.CreateIListInfo 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| 속성 | Description |
|---|---|
| CreateIListInfo<TCollection,TElement>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>) |
에 할당할 수 있는 형식에 대한 메타데이터를 IList<T>만듭니다. |
| CreateIListInfo<TCollection>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>) |
에 할당할 수 있는 형식에 대한 메타데이터를 IList만듭니다. |
CreateIListInfo<TCollection,TElement>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)
에 할당할 수 있는 형식에 대한 메타데이터를 IList<T>만듭니다.
public:
generic <typename TCollection, typename TElement>
where TCollection : System::Collections::Generic::IList<TElement> static System::Text::Json::Serialization::Metadata::JsonTypeInfo<TCollection> ^ CreateIListInfo(System::Text::Json::JsonSerializerOptions ^ options, System::Text::Json::Serialization::Metadata::JsonCollectionInfoValues<TCollection> ^ collectionInfo);
public static System.Text.Json.Serialization.Metadata.JsonTypeInfo<TCollection> CreateIListInfo<TCollection,TElement>(System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : System.Collections.Generic.IList<TElement>;
static member CreateIListInfo : System.Text.Json.JsonSerializerOptions * System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<'Collection (requires 'Collection :> System.Collections.Generic.IList<'Element>)> -> System.Text.Json.Serialization.Metadata.JsonTypeInfo<'Collection (requires 'Collection :> System.Collections.Generic.IList<'Element>)> (requires 'Collection :> System.Collections.Generic.IList<'Element>)
Public Shared Function CreateIListInfo(Of TCollection As IList(Of TElement), TElement As IList(Of TElement)) (options As JsonSerializerOptions, collectionInfo As JsonCollectionInfoValues(Of TCollection)) As JsonTypeInfo(Of TCollection)
형식 매개 변수
- TCollection
형식의 제네릭 정의입니다.
- TElement
요소 형식의 제네릭 정의입니다.
매개 변수
- options
- JsonSerializerOptions
JsonSerializerOptions 직렬화 및 역직렬화에 사용할 수 있습니다.
- collectionInfo
- JsonCollectionInfoValues<TCollection>
컬렉션 형식에 대한 serialization 메타데이터를 제공합니다.
반품
지정된 형식에 대한 serialization 메타데이터입니다.
설명
이 API는 System.Text.Json 원본 생성기의 출력에서 사용하기 위한 것이며 직접 호출해서는 안 됩니다.
적용 대상
CreateIListInfo<TCollection>(JsonSerializerOptions, JsonCollectionInfoValues<TCollection>)
에 할당할 수 있는 형식에 대한 메타데이터를 IList만듭니다.
public:
generic <typename TCollection>
where TCollection : System::Collections::IList static System::Text::Json::Serialization::Metadata::JsonTypeInfo<TCollection> ^ CreateIListInfo(System::Text::Json::JsonSerializerOptions ^ options, System::Text::Json::Serialization::Metadata::JsonCollectionInfoValues<TCollection> ^ collectionInfo);
public static System.Text.Json.Serialization.Metadata.JsonTypeInfo<TCollection> CreateIListInfo<TCollection>(System.Text.Json.JsonSerializerOptions options, System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : System.Collections.IList;
static member CreateIListInfo : System.Text.Json.JsonSerializerOptions * System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<'Collection (requires 'Collection :> System.Collections.IList)> -> System.Text.Json.Serialization.Metadata.JsonTypeInfo<'Collection (requires 'Collection :> System.Collections.IList)> (requires 'Collection :> System.Collections.IList)
Public Shared Function CreateIListInfo(Of TCollection As IList) (options As JsonSerializerOptions, collectionInfo As JsonCollectionInfoValues(Of TCollection)) As JsonTypeInfo(Of TCollection)
형식 매개 변수
- TCollection
형식의 제네릭 정의입니다.
매개 변수
- options
- JsonSerializerOptions
JsonSerializerOptions 직렬화 및 역직렬화에 사용할 수 있습니다.
- collectionInfo
- JsonCollectionInfoValues<TCollection>
컬렉션 형식에 대한 serialization 메타데이터를 제공합니다.
반품
지정된 형식에 대한 serialization 메타데이터입니다.
설명
이 API는 System.Text.Json 원본 생성기의 출력에서 사용하기 위한 것이며 직접 호출해서는 안 됩니다.