Next Previous Up Top Contents Index

4.12 The OLE-AUTOMATION module

set-property

Function

Summary

Sets the value of a property in a dispinterface.

Signature

set-property disp-interface property new-value #key locale 
  => ()

Arguments

disp-interface
An instance of <LPDISPATCH>.

property
An instance of <string> or <disp-id>.

The class class <disp-id> is defined as type-union(<integer>, <machine-word>). Usually, a dispatch ID value will be an <integer>, but occasionally it will not fit.

new-value
An instance of <object>.

locale
An instance of <integer>. Default value: $LOCALE-USER-DEFAULT.

Values

None.

Description

Sets a property in disp-interface to new-value. As for the function get-property, the property argument is either a string name or integer DISPID, and disp-interface is an instance of <LPDISPATCH>.


OLE, COM, ActiveX and DBMS Reference - 31 MAR 2000

Next Previous Up Top Contents Index