System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / BinaryMessageFormatter Class / Clone Method



In This Topic
    Clone Method (BinaryMessageFormatter)
    In This Topic
    Creates an instance of the BinaryMessageFormatter class whose read/write properties (the root object and type description formats) are the same as the current BinaryMessageFormatter.
    Syntax
    'Declaration
     
    
    Public Function Clone() As Object
    'Usage
     
    
    Dim instance As BinaryMessageFormatter
    Dim value As Object
     
    value = instance.Clone()
    public object Clone()
    public:
    Object^ Clone(); 

    Return Value

    An object whose properties are identical to those of this BinaryMessageFormatter, but whose metadata does not specify it to be a formatter class instance.
    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