The putRef method of the Dispatch Class contains the following signatures:
putRef(Object pDispatch, String dispName, Object val)
putRef(Object pDispatch, int dispid, Object val)
Sets an object property on an ActiveX Automation object.
public static void putRef(Object pDispatch, String dispName, Object val);
pDispatch | The Java proxy of the ActiveX Automation object. |
dispName | The name of the property that is set by this method. |
val | The value to assign to the property. |
Sets an object property on an ActiveX Automation object.
public static void putRef(Object pDispatch, int dispid, Object val);
pDispatch | The Java proxy of the ActiveX Automation object. |
dispid | The identifier of the property that is set by this method. |
val | The value to assign to the property. |