Class RegexAttribute
Namespace: UnityEditor.VFX
Syntax
[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
public sealed class RegexAttribute : PropertyAttribute
Constructors
RegexAttribute(String, Int32)
Declaration
public RegexAttribute(string _pattern, int _maxLength = 2147483647)
Parameters
| Type | Name | Description |
|---|---|---|
| String | _pattern | |
| Int32 | _maxLength |
Properties
maxLength
Declaration
public int maxLength { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
pattern
Declaration
public string pattern { get; set; }
Property Value
| Type | Description |
|---|---|
| String |