Udostępnij za pośrednictwem


IEnumProjectStartupServices.Clone(IEnumProjectStartupServices) Method

Definition

Clones this IEnumProjectStartupServices interface by creating another instance.

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

Parameters

ppenum
IEnumProjectStartupServices

[out] Reference to the cloned IEnumProjectStartupServices 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 IEnumProjectStartupServices::Clone(  
   [out] IEnumProjectStartupServices **ppenum  
   );  

Applies to