## Name::SetRefersTo(const U16String\&) method


Returns or sets the formula that the name is defined to refer to, beginning with an equal sign.

```cpp
void Aspose::Cells::Name::SetRefersTo(const U16String &value)
```

## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Class [Name](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Name::SetRefersTo(const char16_t*) method


Returns or sets the formula that the name is defined to refer to, beginning with an equal sign.

```cpp
void Aspose::Cells::Name::SetRefersTo(const char16_t *value)
```

## See Also

* Class [Vector](../../vector/)
* Class [Name](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Name::SetRefersTo(const U16String\&, bool, bool) method


Set the reference of this [Name](../).

```cpp
void Aspose::Cells::Name::SetRefersTo(const U16String &refersTo, bool isR1C1, bool isLocal)
```


| Parameter | Type | Description |
| --- | --- | --- |
| refersTo | const U16String\& | The reference. |
| isR1C1 | bool | Whether the reference is R1C1 format. |
| isLocal | bool | Whether the reference is locale formatted. |

## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Class [Name](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Name::SetRefersTo(const char16_t*, bool, bool) method


Set the reference of this [Name](../).

```cpp
void Aspose::Cells::Name::SetRefersTo(const char16_t *refersTo, bool isR1C1, bool isLocal)
```


| Parameter | Type | Description |
| --- | --- | --- |
| refersTo | const char16_t* | The reference. |
| isR1C1 | bool | Whether the reference is R1C1 format. |
| isLocal | bool | Whether the reference is locale formatted. |

## See Also

* Class [Vector](../../vector/)
* Class [Name](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
