共用方式為


IEnumToolboxTabs.Clone(IEnumToolboxTabs) Method

Definition

Clones this IEnumToolboxTabs interface by creating another instance.

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

Parameters

ppenum
IEnumToolboxTabs

[out] Reference to the cloned interface.

Returns

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

Remarks

COM Signature

From vsshell.idl:

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

Applies to