description | ms.assetid | ms.tgt_platform | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The Clone method of the SWbemNamedValueSet object returns a new object that is a clone of the current collection. |
0e7fab2e-8175-45e5-aa70-1109502e2b3f |
multiple |
SWbemNamedValueSet.Clone method (Wbemdisp.h) |
reference |
05/31/2018 |
|
|
|
|
The Clone method of the SWbemNamedValueSet object returns a new object that is a clone of the current collection.
For an explanation of this syntax, see Document Conventions for the Scripting API.
objwbemNamedValueSet = .Clone( _
)
This method has no parameters.
If successful, a new SWbemNamedValueSet object returns.
Upon completion of the Clone method, the Err object may contain one of the error codes below.
-
wbemErrFailed - 2147749889 (0x80041001)
-
Unspecified error.
-
wbemErrOutOfMemory - 2147749894 (0x80041006)
-
Not enough memory to clone the object.
Use this method to duplicate an SWbemNamedValueSet collection.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
Type library |
|
DLL |
|
CLSID |
CLSID_SWbemNamedValueSet |
IID |
IID_ISWbemNamedValueSet |