JsonPropertyInfo.AssociatedParameter 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 constructor parameter associated with the current property.
public:
property System::Text::Json::Serialization::Metadata::JsonParameterInfo ^ AssociatedParameter { System::Text::Json::Serialization::Metadata::JsonParameterInfo ^ get(); };
public System.Text.Json.Serialization.Metadata.JsonParameterInfo? AssociatedParameter { get; }
member this.AssociatedParameter : System.Text.Json.Serialization.Metadata.JsonParameterInfo
Public ReadOnly Property AssociatedParameter As JsonParameterInfo
Property Value
Remarks
Returns the JsonParameterInfo metadata for the parameter in the deserialization constructor that has been associated with the current property.
A constructor parameter is matched to a property or field if they are of the same type and have the same (case-insensitive) name. Each constructor parameter must be matched to exactly one property or field.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET