In This Article

DynamicLexicalMacro Class

Defines a macro, which is a named regular expression.

public class DynamicLexicalMacro : IKeyedObject
Inheritance:
object object
Implements:
IKeyedObject

Constructors

DynamicLexicalMacro(string, string)

Defines a macro, which is a named regular expression.

public DynamicLexicalMacro(string key, string pattern)
Parameter Type Description
key string

The key of the macro.

pattern string

The text regular expression source.

Properties

Key

The string-based key that identifies the object.

public string Key { get; }

Property Value

string

Pattern

Text regular expression source.

public string Pattern { get; }

Property Value

string

Tag

The object that contains user-defined data about the object.

public object? Tag { get; set; }

Property Value

object

Methods

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members

Extension Methods