JsonTypeInfo.Properties Property
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.
Gets the list of JsonPropertyInfo metadata corresponding to the current type.
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)
Property Value
Remarks
This property is only applicable to metadata of kind Object. For other kinds, an empty, read-only list will be returned.
The order of JsonPropertyInfo entries in the list determines the serialization order, unless either of the entries specifies a non-zero Order value, in which case the properties will be stable sorted by Order.
It's required that added JsonPropertyInfo entries are unique up to Name, however this will only be validated on serialization, once the metadata instance gets locked for further modification.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기