XmlMessageFormatter.Clone Method

Definition

Creates an instance of the XmlMessageFormatter class whose read/write properties (the sets of target types) are the same as the current XmlMessageFormatter instance.

public:
 virtual System::Object ^ Clone();
public object Clone ();
abstract member Clone : unit -> obj
override this.Clone : unit -> obj
Public Function Clone () As Object

Returns

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.

Implements

Remarks

This method creates a copy of the formatter and initializes all its properties to the values of this XmlMessageFormatter object.

Applies to

See also