This method of the Dispatch Class maps the name of a dispmember to its dispid. This method is a direct wrapper around the IDispatch::GetIDsOfNames call.
public static int getIDOfName(Object pDispatch, String dispName);
Returns the dispid that corresponds to the specified name.
pDispatch | The Java proxy of the ActiveX Automation object. |
dispName | The name that is resolved. |
A ComFailException is thrown if the name is not recognized by the object.