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



In This Topic
    Clone Method (XmlMessageFormatter)
    In This Topic
    Creates an instance of the XmlMessageFormatter class whose read/write properties (the sets of target types) are the same as the current XmlMessageFormatter instance.
    Syntax
    'Declaration
     
    
    Public Function Clone() As Object
    'Usage
     
    
    Dim instance As XmlMessageFormatter
    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 XmlMessageFormatter instance, 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