In This Article

DynamicLexicalPattern Class

Represents a lexical pattern.

public class DynamicLexicalPattern
Inheritance:
object object

Constructors

DynamicLexicalPattern(string)

Initializes a new instance of the DynamicLexicalPattern class.

public DynamicLexicalPattern(string pattern)
Parameter Type Description
pattern string

The text regular expression source.

Properties

LexicalPatternGroup

Gets the parent DynamicLexicalPatternGroup.

public DynamicLexicalPatternGroup LexicalPatternGroup { get; }

Property Value

DynamicLexicalPatternGroup:

The parent DynamicLexicalPatternGroup.

Pattern

Gets or sets the text regular expression source.

public string Pattern { get; set; }

Property Value

string:

The text regular expression source.

Tag

Gets or sets the object that contains user-defined data about the object.

public object Tag { get; set; }

Property Value

object:

An object that contains user-defined data about the object. The default is null.

Remarks

Any type derived from the object class can be assigned to this property.

Methods

ToString()

Creates and returns a string representation of the current object.

public override string ToString()

Returns

string:

A string representation of the current object.

Inherited Members