## IReplacingCallback::Replacing method


A user defined method that is called during a replace operation for each match found just before a replace is made.

```cpp
virtual Aspose::Words::Replacing::ReplaceAction Aspose::Words::Replacing::IReplacingCallback::Replacing(System::SharedPtr<Aspose::Words::Replacing::ReplacingArgs> args)=0
```


### ReturnValue

A [ReplaceAction](../../replaceaction/) value that specifies the action to be taken for the current match.

## See Also

* Enum [ReplaceAction](../../replaceaction/)
* Class [ReplacingArgs](../../replacingargs/)
* Interface [IReplacingCallback](../)
* Namespace [Aspose::Words::Replacing](../../)
* Library [Aspose.Words for C++](../../../)
