DynamicLexicalMacro Class
Defines a macro, which is a named regular expression.
public class DynamicLexicalMacro : IKeyedObject
- Inheritance:
- object object
- Implements:
- IKeyedObject
Constructors
DynamicLexicalMacro(string, string)
Initializes a new instance of the LexicalMacro
class.
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
Gets a string-based key that identifies the object.
Pattern
Gets 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
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.