| ReplaceLayoutRendererWrapperReplaceNamedGroup Method |
Note: This API is now obsolete.
A match evaluator for Regular Expression based replacing
Namespace:
NLog.LayoutRenderers.Wrappers
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax [ObsoleteAttribute("This method should not be used. Marked obsolete on NLog 4.7")]
public static string ReplaceNamedGroup(
string input,
string groupName,
string replacement,
Match match
)
<ObsoleteAttribute("This method should not be used. Marked obsolete on NLog 4.7")>
Public Shared Function ReplaceNamedGroup (
input As String,
groupName As String,
replacement As String,
match As Match
) As String
Dim input As String
Dim groupName As String
Dim replacement As String
Dim match As Match
Dim returnValue As String
returnValue = ReplaceLayoutRendererWrapper.ReplaceNamedGroup(input,
groupName, replacement, match)
[<ObsoleteAttribute("This method should not be used. Marked obsolete on NLog 4.7")>]
static member ReplaceNamedGroup :
input : string *
groupName : string *
replacement : string *
match : Match -> string
Parameters
- input
- Type: SystemString
Input string. - groupName
- Type: SystemString
Group name in the regex. - replacement
- Type: SystemString
Replace value. - match
- Type: System.Text.RegularExpressionsMatch
Match from regex.
Return Value
Type:
StringGroups replaced with
replacement.
See Also