Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

JsonSerializableAttribute.GenerationMode Property

Definition

Namespace:
System.Text.Json.Serialization
Assembly:
System.Text.Json.dll
Package:
System.Text.Json v11.0.0-preview.5.26302.115
Source:
JsonSerializableAttribute.cs
Source:
JsonSerializableAttribute.cs
Source:
JsonSerializableAttribute.cs
Source:
JsonSerializableAttribute.cs
Source:
JsonSerializableAttribute.cs
Source:
JsonSerializableAttribute.cs
Source:
JsonSerializableAttribute.cs

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 the mode that indicates what the source generator should generate for the type. If the value is Default, then the setting specified on GenerationMode will be used.

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


Feedback

Was this page helpful?