IJavaMember::GetNameRange

This method returns the starting position and length of the range of text containing the member's name. These values are expressed in character units relative to the compile unit's text buffer.

Syntax

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

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