XmlMessageFormatter.Clone Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.