FormatterTypeStyle Enumeration

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

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

public enum FormatterTypeStyle
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public enum FormatterTypeStyle
public enum FormatterTypeStyle

 Member nameDescription
TypesAlwaysIndicates that types can be given to all object members and ISerializable object members. 
TypesWhenNeededIndicates that types can be stated only for arrays of objects, object members of type Object, and ISerializable non-primitive value types. 
XsdStringIndicates that strings can be given in the XSD format rather than SOAP. No string IDs are transmitted. 

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions