---
title: "Aspose::Cells::WebExtensions::WebExtension::SetId method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.webextensions/webextension/setid/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::WebExtensions::WebExtension::SetId method. Gets and sets the uniquely identifies the Office Add-in instance in the current document in C++."
---

## WebExtension::SetId(const U16String\&) method


Gets and sets the uniquely identifies the Office Add-in instance in the current document.

```cpp
void Aspose::Cells::WebExtensions::WebExtension::SetId(const U16String &value)
```

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [U16String](../../../aspose.cells/u16string/)
* Class [WebExtension](../)
* Namespace [Aspose::Cells::WebExtensions](../../)
* Library [Aspose.Cells for C++](../../../)
## WebExtension::SetId(const char16_t*) method


Gets and sets the uniquely identifies the Office Add-in instance in the current document.

```cpp
void Aspose::Cells::WebExtensions::WebExtension::SetId(const char16_t *value)
```

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [WebExtension](../)
* Namespace [Aspose::Cells::WebExtensions](../../)
* Library [Aspose.Cells for C++](../../../)
