A regular expression representing a restriction on a string configuration
option value.
| C# |
public class OptionRestrictionRegex
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| OptionRestrictionRegex()()()() | Initializes a new instance of the OptionRestrictionRegex class | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| Label |
Gets and sets the property Label.
A unique name representing this regular expression. | |
| Pattern |
Gets and sets the property Pattern.
The regular expression pattern that a string configuration option value with this restriction must match. | |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithLabel(String) | Obsolete.
Sets the Label property
| |
| WithPattern(String) | Obsolete.
Sets the Pattern property
|
| Object | |
| OptionRestrictionRegex | |