Parameters
- oldValue
The string to be replaced.
- newValue
The string to replace all occurrences of oldValue.
Return Value
Count of replaced values.
The string to be replaced.
The string to replace all occurrences of oldValue.
Replaces all occurrences of Parameter oldValue with Parameter newValue.
The string to be replaced.
The string to replace all occurrences of oldValue.
Count of replaced values.
The event ReplaceHit is invoked by each hit in replacement operation.
Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9