Bewerken

Delen via


ManagementNamedValueCollection.Clone Method

Definition

Creates a clone of the collection. Individual values are cloned. If a value does not support cloning, then a NotSupportedException is thrown.

public:
 System::Management::ManagementNamedValueCollection ^ Clone();
public System.Management.ManagementNamedValueCollection Clone ();
member this.Clone : unit -> System.Management.ManagementNamedValueCollection
Public Function Clone () As ManagementNamedValueCollection

Returns

The new copy of the collection.

Remarks

.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

See also