System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / BinaryMessageFormatter Class / TopObjectFormat Property



In This Topic
    TopObjectFormat Property
    In This Topic
    Gets or sets a value that defines how the top (root) object of a graph is deserialized with regards to finding and loading its assembly.
    Syntax
    'Declaration
     
    
    Public Property TopObjectFormat As FormatterAssemblyStyle
    'Usage
     
    
    Dim instance As BinaryMessageFormatter
    Dim value As FormatterAssemblyStyle
     
    instance.TopObjectFormat = value
     
    value = instance.TopObjectFormat
    public FormatterAssemblyStyle TopObjectFormat {get; set;}
    public:
    property FormatterAssemblyStyle TopObjectFormat {
       FormatterAssemblyStyle get();
       void set (    FormatterAssemblyStyle value);
    }

    Property Value

    One of the System.Runtime.Serialization.Formatters.FormatterAssemblyStyle values that defines the deserialization behavior.
    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