FormatterTypeStyle Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Indicates the format in which type descriptions are laid out in the serialized stream.

Namespace:   System.Runtime.Serialization.Formatters
Assembly:  mscorlib (in mscorlib.dll)

[SerializableAttribute]
[ComVisibleAttribute(true)]
public enum FormatterTypeStyle

Member nameDescription
TypesAlways

Indicates that types can be given to all object members and ISerializable object members.

TypesWhenNeeded

Indicates that types can be stated only for arrays of objects, object members of type Object, and ISerializable non-primitive value types.

XsdString

Indicates that strings can be given in the XSD format rather than SOAP. No string IDs are transmitted.

.NET Framework
Available since 1.1
Return to top
Show: