> For the complete documentation index, see [llms.txt](https://docs.roboteasy.tech/studio-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboteasy.tech/studio-en/studio/objetos/blocos-de-comando/estrutura-de-dados/atribuir-valor-a-propriedade.md).

# Assign Value to Property

Object used to assign a value to one or more properties of an instantiated or static class

## Settings

![](https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRKcZBCSfHjT8BRPnSe%2F-MY78VKTY9OSI3jZsSLV%2F-MY78WgBqre01TU-WMZ9%2Fimage.png?alt=media\&token=07a4601c-98cc-426a-9913-a42411607572)

| Field      | Description                                                                                                                                                                  |
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Title      | Object Title                                                                                                                                                                 |
| Variable   | Select the variable, whose type can be a class or a static class.                                                                                                            |
| Properties | Fields are shown according to the number of properties present in the class. Enter the value you wish to assign to the property. Pay attention to the type of each property! |

## Example

1. Create a structure : [Create Structur](https://docs.rpaidea.com/ide/objetos/blocos-de-comando/estrutura-de-dados/criar-estrutura)e:

![](https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRKcZBCSfHjT8BRPnSe%2F-MY78VKTY9OSI3jZsSLV%2F-MY79XjDZrGjSkecSyVz%2Fimage.png?alt=media\&token=cfc567ea-6501-4d64-8339-87141e34a9a4)

2\. Declare a variable whose type is the structure: [Declare Variable](https://docs.rpaidea.com/ide/objetos/blocos-de-comando/declarar-variavel)

![](https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRKcZBCSfHjT8BRPnSe%2F-MY78VKTY9OSI3jZsSLV%2F-MY79xyQjpeuSGT-TZMY%2Fimage.png?alt=media\&token=e719c1ea-11d1-4147-91b0-88fbf456b111)

3\. Use the "**Assign Value to Property**" object:

![](https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRKcZBCSfHjT8BRPnSe%2F-MY78VKTY9OSI3jZsSLV%2F-MY7A4KX52_keQg32X5H%2Fimage.png?alt=media\&token=160d26ba-1aff-45ac-9438-a02eee4193f4)
