# %CoPropertyPut interface

Call a Property Put.

## Syntax

```
retcode = %CoPropertyPut (Param1, Param2, Param3, Param4, … )
```

## Parameter(s)

| Param1 [in] | Dispatch object containing the IDispatch this call is associated with. |
| --- | --- |
| Param2 [in] | String - The put property name. |
| Param3 [in] | Format string specifying the data types of arguments (0 if no arguments). |
| Param4 [in] | Argument #1. |

## Returns

A Boolean (Success or Fail)

## Error Handling

Call CoGetException to get an error description.

## See also

- [Using the COM interface to FlashBASIC](https://d3codex.com/pickbasic-flashbasic/using-the-com-interface-to-flashbasic/)
- [FlashBASIC automation application interfaces](https://d3codex.com/pickbasic-flashbasic/flashbasic-automation-application-interfaces/)

---
Source: https://d3codex.com/pickbasic-flashbasic/copropertyput-interface/ - part of the D3Codex reference.
