ReplacingArgs
Overview
ReplacingArgs is a class in Aspose.Words FOSS for .NET.
Provides data for a custom replace operation.
Properties: GroupIndex, GroupName, Match, MatchEndNode, MatchNode, MatchOffset, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Match | Match | Read | The Match resulting from a single regular expression match during a Replace. |
MatchNode | Node | Read | Gets the node that contains the beginning of the match. |
MatchEndNode | Node | Read | Gets the node that contains the end of the match. |
MatchOffset | int | Read | Gets the zero-based starting position of the match from the start of the node that contains the beginning of the match. |
Replacement | string | Read/Write | Gets or sets the replacement string. |
GroupName | string | Read/Write | Identifies, by name, a captured group in the Match that is to be replaced with the Replacement string. |
GroupIndex | int | Read/Write | Identifies, by index, a captured group in the Match that is to be replaced with the Replacement string. |