FormatterServices.GetSerializableMembers Method (Type, StreamingContext)
Assembly: mscorlib (in mscorlib.dll)
public static MemberInfo GetSerializableMembers( Type type, StreamingContext context )
- Type: System.Type
The type being serialized or cloned.
- Type: System.Runtime.Serialization.StreamingContext
The context where the serialization occurs.
Generally, the serializable members of a class are the non-transient, non-static members such as fields and properties. To be included, properties must have both a getter and a setter. A class that implements ISerializable or has a serialization surrogate does not have to serialize all these members, or can serialize additional members.