/// Determines the serialization policy.
public enum SerializationPolicy
/// Only public, non-static properties with Serializable or DataMember attribute are (de-serialized)
PropertyOptIn = 1,
/// All public, non-static instance properties are (de-)serialized. Default.
PropertyOptOut = 2,
/// All public non-static instance properties are serialized, read-only properties are not deserialized (obviously).
IncludeReadOnly = 4,
/// All publis non-static fields are also participating in the serialization process.
[Obsolete("Not implemented yet, always true")]
IncludeFields = 8
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)
Microsoft bets on Windows XP disaster