共用方式為


IVsEnumDebugName.Clone(IVsEnumDebugName) Method

Definition

Duplicates a collection of debug names.

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

Parameters

ppEnum
IVsEnumDebugName

[out] Duplicated IVsEnumDebugName enumeration.

Returns

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

Remarks

COM Signature

From textmgr.idl:

[C++]

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

Applies to