NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Regex.Replace (String, MatchEvaluator, Int32, Int32)

position startat.

[Visual Basic]
Overloads Public Function Replace( _
   ByVal input As String, _
   ByVal evaluator As MatchEvaluator, _
   ByVal count As Integer, _
   ByVal startat As Integer _
) As String
[C#]
public string Replace(
   string input,
   MatchEvaluator evaluator,
   int count,
   int startat
);
[C++]
public: String* Replace(
   String* input,
   MatchEvaluator* evaluator,
   int count,
   int startat
);
[JScript]
public function Replace(
   input : String,
   evaluator : MatchEvaluator,
   count : int,
   startat : int
) : String;

Parameters

input
[To be supplied.]
evaluator
[To be supplied.]
count
[To be supplied.]
startat
Character position in input string where search will begin.

Return Value

The modified character string.

Remarks

The RegexMatchEvaluator type is a delegate that takes a single RegexMatch as input and returns a string. It is declared as follows.

public delegate String RegexMatchEvaluator(RegexMatch match);

See Also

Regex Class | Regex Members | System.Text.RegularExpressions Namespace | Regex.Replace Overload List