Indicates whether the class can override the given method. This is determined by searching the classÆs methods for a prototype matching the given method. If one is found, or if the given method cannot be overridden for other reasons (for example, it is a final method), VARIANT_FALSE is returned, indicating that a call to OverrideMethod would result in uncompileable code.
Syntax
[propget] HRESULT CanOverride([in] IJavaMethod* pMethod, [out, retval] VARIANT_BOOL* retval);
Property CanOverride(pMethod As IJavaMethod) As Boolean
Parameters
pMethod
The method to be overridden.