IJavaCompileUnit::PrimaryClassName

This property is the name of the primary class in the compile unit.

Syntax

HRESULT PrimaryClassName([out, retval] BSTR* retval);

Property Get PrimaryClassName As String

Remarks

This is the name of the class that matches the compile unit's file name (typically, this is the public class in the compile unit).