Microsoft SDK for Java

put

The put method of the Dispatch Class contains the following signatures:

put(Object pDispatch, String dispName, Object val)
put(Object pDispatch, int dispid, Object val)

put(Object pDispatch, String dispName, Object val)

Sets a property on an ActiveX Automation object.

Syntax

public static void put(Object pDispatch, String dispName, Object val);

Parameters

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.

put(Object pDispatch, int dispid, Object val)

Sets a property on an ActiveX Automation object.

Syntax

public static void put(Object pDispatch, int dispid, Object val);

Parameters

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.