共用方式為


IDiaSession::symsAreEquiv

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

Checks to see if two symbols are equivalent.

Syntax

HRESULT symsAreEquiv (   
   IDiaSymbol* symbolA,  
   IDiaSymbol* symbolB  
);  

Parameters

symbolA
[in] The first IDiaSymbol object used in the comparison.

symbolB
[in] The second IDiaSymbol object used in the comparison.

Return Value

If the symbols are equivalent, returns S_OK; otherwise, returns S_FALSE, the symbols are not equivalent. Otherwise, return an error code.

See Also

IDiaSession
IDiaSymbol