共用方式為


IEnumComReferences.Clone(IEnumComReferences) Method

Definition

Clones this IEnumComReferences interface by creating another instance.

public:
 int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumComReferences ^ % ppenum);
public:
 int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumComReferences ^ &  ppenum);
int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumComReferences const & & ppenum);
public int Clone (out Microsoft.VisualStudio.Shell.Interop.IEnumComReferences ppenum);
abstract member Clone : IEnumComReferences -> int
Public Function Clone (ByRef ppenum As IEnumComReferences) As Integer

Parameters

ppenum
IEnumComReferences

[out] Reference to the cloned IEnumComReferences interface.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

[C++]

HRESULT IEnumComReferences::Clone(  
   [out] IEnumComReferences **ppenum  
);   

Applies to