編輯

共用方式為


JsonSourceGenerationOptionsAttribute.GenerationMode Property

Definition

Gets or sets the source generation mode for types that don't explicitly set the mode with GenerationMode.

public:
 property System::Text::Json::Serialization::JsonSourceGenerationMode GenerationMode { System::Text::Json::Serialization::JsonSourceGenerationMode get(); void set(System::Text::Json::Serialization::JsonSourceGenerationMode value); };
public System.Text.Json.Serialization.JsonSourceGenerationMode GenerationMode { get; set; }
member this.GenerationMode : System.Text.Json.Serialization.JsonSourceGenerationMode with get, set
Public Property GenerationMode As JsonSourceGenerationMode

Property Value

Applies to