GenerateFieldIds Enum
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.
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. |