IJavaMember::GetBlockRange

This method returns the range of text containing the member, including all white space preceding the member declaration. These values are expressed in character units relative to the compile unit's text buffer.

Syntax

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

Sub GetBlockRange(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.