System.Web.Services 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Attribute System.AttributeUsage(System.AttributeTargets.All, Inherited=true)

Text pattern matching allows an XML Web service to leverage existing HTML content by parsing it using regular expressions. an XML Web service specifies the content it wants to parse in a Service Description using match elements. These match elements specify several items: the regular expression for parsing the contents of an existing HTML page, whether the parsing must be case-insensitive, and how many instances of content that matches the regular expression should be returned. When a client builds a proxy class using the Wsdl.exe tool, methods of the proxy class include a detailing the match elements found in the Service Description.

For more information on text pattern matching, see [<topic://cpconcreatingclientsthatparsecontentofotherwebpages>].

Represents the attributes of a match made using text pattern matching. This class cannot be inherited.

- Constructor

  Use this constructor to create and initialize a new instance of the class using the specified pattern.

  The following table shows the initial property value for an instance of .

  Property

  Initial Value

  Pattern

  The value of the parameter.

  Initializes a new instance of the class with the specified pattern.

  A string that represents the pattern to match.
  1.0.5000.0
  2.0.0.0
- Property
  System.Int32 To be added: an object of type 'int' To be added

  Gets or sets a value that represents the index of a match within a grouping.

  1.0.5000.0
  2.0.0.0
- Property
  System.Int32 To be added: an object of type 'int'

  Use the property to specify a group that a match belongs to.

  Gets or sets a value that represents a grouping of related matches.

  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean To be added: an object of type 'bool' To be added

  Gets or sets a value that indicates whether the pattern to match is case insensitive.

  1.0.5000.0
  2.0.0.0
- Property
  System.Int32 To be added: an object of type 'int'

  A value of 1 returns only the first match. A value of -1 returns all matches. Additionally, a value of -1 equates to an '*' in a regular expression.

  Gets or sets the maximum number of values to return from the match.

  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string'

  Use the property to specify a regular expression that represents the value to match.

  Gets or sets a regular expression that represents the pattern to match.

  1.0.5000.0
  2.0.0.0