共用方式為


IDiaFrameData::get_lengthBlock

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

Retrieves the length, in bytes, of the block of code described by the frame.

Syntax

HRESULT get_lengthBlock (   
   DWORD* pRetVal  
);  

Parameters

pRetVal
[out] Returns the number of bytes of code in the frame.

Return Value

If successful, returns S_OK. Returns S_FALSE if this property is not supported. Otherwise, returns an error code.

Remarks

The value returned by this method is typically used in the interpretation of a program string (see the IDiaFrameData::get_program method for the definition of a program string).

See Also

IDiaFrameData
IDiaFrameData::get_program