## ReplacerContext::SetReplacement(const System::SharedPtr\<System::Text::RegularExpressions::Regex\>\&, const System::String\&) method


Sets pattern and replacement used by find/replace operation.

```cpp
void Aspose::Words::LowCode::ReplacerContext::SetReplacement(const System::SharedPtr<System::Text::RegularExpressions::Regex> &pattern, const System::String &replacement)
```

## See Also

* Class [ReplacerContext](../)
* Namespace [Aspose::Words::LowCode](../../)
* Library [Aspose.Words for C++](../../../)
## ReplacerContext::SetReplacement(const System::String\&, const System::String\&) method


Sets pattern and replacement used by find/replace operation.

```cpp
void Aspose::Words::LowCode::ReplacerContext::SetReplacement(const System::String &pattern, const System::String &replacement)
```

## See Also

* Class [ReplacerContext](../)
* Namespace [Aspose::Words::LowCode](../../)
* Library [Aspose.Words for C++](../../../)
