Edytuj

Udostępnij za pośrednictwem


GenerateFieldIds Enum

Definition

This enum provides options for controlling the field id generation logic.

public enum GenerateFieldIds
type GenerateFieldIds = 
Public Enum GenerateFieldIds
Inheritance
GenerateFieldIds

Fields

Name Value Description
None 0

Only members explicitly annotated with a field id will be serialized. This is the default.

PublicProperties 1

Field ids will be automatically assigned to eligible public properties. To qualify, a property must have an accessible getter, and either an accessible setter or a corresponding constructor parameter.

Applies to