Edit

Share via


ManagementClass.Clone Method

Definition

Returns a copy of the object.

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

Returns

The cloned object.

Remarks

Note that this does not create a copy of the WMI class; only an additional representation is created.

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Applies to