共用方式為


IVsEnumGUID.Clone(IVsEnumGUID) Method

Definition

Duplicates a collection of GUIDs.

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

Parameters

ppEnum
IVsEnumGUID

[in] Duplicated IVsEnumGUID interface.

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 IVsEnumGUID::Clone(  
   [out] IVsEnumGUID **ppenum  
);  

Applies to