IJavaCompileUnit::FindPackage

This method returns the package that contains a class with the given name. The name resolution is performed relative to the namespace of the compile unit.

Syntax

HRESULT FindPackage([in] BSTR bstrName,
[out, retval] IJavaPackage** retval);

Function FindPackage(ByVal bstrName As String) As IJavaPackage

Parameters

bstrName

The name of the requested package.