# AUTOSetPropertyByID (W*S)

AUTO Function: Passes the member ID of the property and sets the value of the automation object's property into the argument list's first argument.

## Module

USE IFAUTO

result = AUTOSetPropertyByID (idispatch,memid,invoke_args)

idispatch | The object's IDispatch interface pointer. Must be of type INTEGER(INT_PTR_KIND()).
memid | Member ID of the property. Must be of type INTEGER(4).
invoke_args | The argument list data structure. Must be of type INTEGER(INT_PTR_KIND()).

## Results

Returns an HRESULT describing the status of the operation. Must be of type INTEGER(4).

Parent topic: Automation Server (AUTO) and Component Object Model (COM) Library Routines