CommentRegex CommentRegex CommentRegex CommentRegex Constructors

Definition

Overloads

CommentRegex() CommentRegex() CommentRegex()

Initializes a new instance of the CommentRegex class.

CommentRegex(TimeSpan) CommentRegex(TimeSpan) CommentRegex(TimeSpan) CommentRegex(TimeSpan)

Initializes a new instance of the CommentRegex class with the specified time-out value.

CommentRegex() CommentRegex() CommentRegex()

Initializes a new instance of the CommentRegex class.

public:
 CommentRegex();
public CommentRegex ();
Public Sub New ()

Remarks

This constructor instantiates a compiled regular expression whose predefined regular expression pattern is \G<%--(([^-]*)-)*?-%>.

CommentRegex(TimeSpan) CommentRegex(TimeSpan) CommentRegex(TimeSpan) CommentRegex(TimeSpan)

Initializes a new instance of the CommentRegex class with the specified time-out value.

public:
 CommentRegex(TimeSpan A_1);
public CommentRegex (TimeSpan A_1);
new System.Web.RegularExpressions.CommentRegex : TimeSpan -> System.Web.RegularExpressions.CommentRegex
Public Sub New (A_1 As TimeSpan)

Parameters

A_1
TimeSpan TimeSpan TimeSpan TimeSpan

A time-out interval, or InfiniteMatchTimeout if matching operations should not time out.

Remarks

The A_1 parameter represents the maximum time interval during which the regular expression engine tries to find a match before the operation times out and a RegexMatchTimeoutException exception is thrown.

Applies to