Düzenle

Aracılığıyla paylaş


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