Microsoft SDK for Java

get

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

get(Object pDispatch, String dispName)
get(Object pDispatch, int dispid)

get(Object pDispatch, String dispName)

Accesses a property on an ActiveX Automation object.

Syntax

public static Variant get(Object pDispatch, String dispName);

Return Value

Returns the value of the property.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the property that is accessed.

get(Object pDispatch, int dispid)

Accesses a property on an ActiveX Automation object.

Syntax

public static Variant get(Object pDispatch, int dispid);

Return Value

Returns the value of the property.

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the property that is accessed.

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