共用方式為


IDiaEnumSymbolsByAddr::Clone

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Makes a copy of an object.

Syntax

HRESULT Clone (   
   IDiaEnumSymbolsByAddr** ppenum  
);  

Parameters

ppenum
[out] Returns an IDiaEnumSymbolsByAddr object that contains a duplicate of the enumerator. The symbols are not duplicated, only the enumerator.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

IDiaEnumSymbolsByAddr