System.Messaging Reference (Document! X Sample)



TypeFormat Property
Gets or sets a value that defines how type descriptions are laid out in the serialized stream.
Syntax
'Declaration
 
<MessagingDescriptionAttribute("Determines how type descriptions are laid out in the serialized stream.")>
<DefaultValueAttribute()>
Public Property TypeFormat As FormatterTypeStyle
'Usage
 
Dim instance As BinaryMessageFormatter
Dim value As FormatterTypeStyle
 
instance.TypeFormat = value
 
value = instance.TypeFormat
[MessagingDescription("Determines how type descriptions are laid out in the serialized stream.")]
[DefaultValue()]
public FormatterTypeStyle TypeFormat {get; set;}
[MessagingDescription("Determines how type descriptions are laid out in the serialized stream.")]
[DefaultValue()]
public:
property FormatterTypeStyle TypeFormat {
   FormatterTypeStyle get();
   void set (    FormatterTypeStyle value);
}

Property Value

A System.Runtime.Serialization.Formatters.FormatterTypeStyle that defines the type description format.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also