다음을 통해 공유


JsonTypeInfo.Properties 속성

정의

현재 형식에 JsonPropertyInfo 해당하는 메타데이터 목록을 가져옵니다.

public:
 property System::Collections::Generic::IList<System::Text::Json::Serialization::Metadata::JsonPropertyInfo ^> ^ Properties { System::Collections::Generic::IList<System::Text::Json::Serialization::Metadata::JsonPropertyInfo ^> ^ get(); };
public System.Collections.Generic.IList<System.Text.Json.Serialization.Metadata.JsonPropertyInfo> Properties { get; }
member this.Properties : System.Collections.Generic.IList<System.Text.Json.Serialization.Metadata.JsonPropertyInfo>
Public ReadOnly Property Properties As IList(Of JsonPropertyInfo)

속성 값

IList<JsonPropertyInfo>

설명

이 속성은 종류의 Object메타데이터에만 적용됩니다. 다른 종류의 경우 빈 읽기 전용 목록이 반환됩니다.

항목 중 하나가 0이 아닌 값을 지정하지 않는 한 목록의 JsonPropertyInfo 항목 순서에 따라 serialization 순서가 <xref:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.Order> 결정됩니다. 이 경우 속성은 안정적으로 <xref:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.Order>정렬됩니다.

추가 JsonPropertyInfo 된 항목은 고유해야 하지만 추가 수정을 위해 Name메타데이터 인스턴스가 잠기면 serialization에서만 유효성이 검사됩니다.

적용 대상