JsonObjectInfoValues<T>.PropertyMetadataInitializer Property

Definition

Gets or sets a mechanism to initialize metadata for properties and fields of the class or struct.

public:
 property Func<System::Text::Json::Serialization::JsonSerializerContext ^, cli::array <System::Text::Json::Serialization::Metadata::JsonPropertyInfo ^> ^> ^ PropertyMetadataInitializer { Func<System::Text::Json::Serialization::JsonSerializerContext ^, cli::array <System::Text::Json::Serialization::Metadata::JsonPropertyInfo ^> ^> ^ get(); void set(Func<System::Text::Json::Serialization::JsonSerializerContext ^, cli::array <System::Text::Json::Serialization::Metadata::JsonPropertyInfo ^> ^> ^ value); };
public Func<System.Text.Json.Serialization.JsonSerializerContext,System.Text.Json.Serialization.Metadata.JsonPropertyInfo[]>? PropertyMetadataInitializer { get; init; }
member this.PropertyMetadataInitializer : Func<System.Text.Json.Serialization.JsonSerializerContext, System.Text.Json.Serialization.Metadata.JsonPropertyInfo[]> with get, set
Public Property PropertyMetadataInitializer As Func(Of JsonSerializerContext, JsonPropertyInfo())

Property Value

Remarks

This API is for use by the output of the System.Text.Json source generator and should not be called directly.

Applies to