IEnumComponents.Clone(IEnumComponents) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Clones the current enumeration component.
public:
int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumComponents ^ % ppIEnumComponents);
public:
int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumComponents ^ & ppIEnumComponents);
int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumComponents const & & ppIEnumComponents);
public int Clone (out Microsoft.VisualStudio.Shell.Interop.IEnumComponents ppIEnumComponents);
abstract member Clone : IEnumComponents -> int
Public Function Clone (ByRef ppIEnumComponents As IEnumComponents) As Integer
Parameters
- ppIEnumComponents
- IEnumComponents
[out] Returns the cloned IEnumComponents interface.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From compsvcspkg.idl:
HRESULT IEnumComponents::Clone(
[out] IEnumComponents **ppIEnumComponents
);