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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions