共用方式為


IDiaSession::put_loadAddress

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

Sets the load address for the executable file that corresponds to the symbols in this symbol store.

Syntax

HRESULT put_loadAddress (   
   ULONGLONG NewVal  
);  

Parameters

NewVal
[in] Load address for the executable file.

Remarks

Symbol virtual address (VA) properties are computed using the value of this method. Virtual addresses are not calculated unless this property is set to non-zero.

Note

You must call this method when you get the IDiaSession object and before you start using the object if you need to use any virtual properties on symbols.

See Also

IDiaSession