Skip to content

Latest commit

 

History

History
98 lines (58 loc) · 2.33 KB

swbemnamedvalueset-clone.md

File metadata and controls

98 lines (58 loc) · 2.33 KB
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
APIRef
kbSyntax
SWbemNamedValueSet.Clone
ISWbemNamedValueSet.Clone
ISWbemNamedValueSet.Clone
COM
Wbemdisp.dll

SWbemNamedValueSet.Clone method

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.

Syntax

objwbemNamedValueSet = .Clone( _
)

Parameters

This method has no parameters.

Return value

If successful, a new SWbemNamedValueSet object returns.

Error codes

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.

Remarks

Use this method to duplicate an SWbemNamedValueSet collection.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Wbemdisp.h
Type library
Wbemdisp.tlb
DLL
Wbemdisp.dll
CLSID
CLSID_SWbemNamedValueSet
IID
IID_ISWbemNamedValueSet

See also

SWbemNamedValueSet