IAssemblyName::Clone method (winsxs.h)

The Clone method copies the current side-by-side assembly name to a new instance of IAssemblyName.

Syntax

HRESULT Clone(
  [out] IAssemblyName **pName
);

Parameters

[out] pName

Pointer to the location that contains the pointer to the new instance of IAssemblyName.

Return value

This method can return one of these values.

Return value Description
S_OK
The method succeeded.
S_FALSE
The method did not succeed.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header winsxs.h
DLL Sxs.dll

See also

IAssemblyName