> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MacroReturnValue

> MacroReturnValue

MacroReturnValue

## Constructors

### MacroReturnValue()

```crmscript theme={null}
MacroReturnValue
```

Initializes a new instance of the MacroReturnValue class.

### MacroReturnValue(String,String)

```crmscript theme={null}
MacroReturnValue(String name, String description)
```

Creates and returns a macro return value.

## Methods

## getDescription()

Returns the description of the macro return value.

```crmscript theme={null}
String getDescription()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The description of the macro return value.

## getName()

Returns the name of the macro return value.

```crmscript theme={null}
String getName()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The name of the macro return value.

## setDescription(String)

Sets the description of the macro return value.

```crmscript theme={null}
Void setDescription(String description)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## setName(String)

Sets the name of the macro return value.

```crmscript theme={null}
Void SetName(String name)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)


## Related topics

- [Namespace CRMScript.Native](/en/automation/crmscript/reference/CRMScript.Native.md)
- [CRMScript Reference](/en/automation/crmscript/reference/index.md)
- [MacroParameter](/en/automation/crmscript/reference/CRMScript.Native.MacroParameter.md)
- [Creating a trigger :: Macro](/en/automation/trigger/create-trigger-macro.md)
- [Create a macro - example from SuperOffice](/en/customization/macros-and-scripts/admin/create-macro.md)
- [CRMScript](/en/customization/macros-and-scripts/admin/index.md)
