IJavaClass::GetBodyRange

This method returns the text range containing the class's body. The range begins with a left bracket ({) and ends with a right bracket (}). These values are expressed in character units relative to the compile unit's text buffer.

Syntax

HRESULT GetBodyRange(
[out] long* pnStart,
[out] long* pnLength
);

Sub GetBodyRange(pnStart As Long, pnLength As Long)

Parameters

pnStart

Long. Starting position, in character units relative to the compile unit's text buffer.

pnLength

Long. Length, in character units relative to the compile unit's text buffer.