共用方式為


IVsEnumSelectedSymbols.Clone(IVsEnumSelectedSymbols) Method

Definition

Creates a clone of the interface.

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

Parameters

ppIVsEnumSelectedSymbols
IVsEnumSelectedSymbols

[out] Pointer to the cloned IVsEnumSelectedSymbols interface.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsEnumSelectedSymbols::Clone(  
   [out] IVsEnumSelectedSymbols **ppIVsEnumSelectedSymbols  
);  

Applies to