JsonObjectInfoValues<T>.PropertyMetadataInitializer 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 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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.