Class RegexAttribute | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class RegexAttribute

    Inheritance
    System.Object
    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
    System.String _pattern
    System.Int32 _maxLength

    Properties

    maxLength

    Declaration
    public int maxLength { get; set; }
    Property Value
    Type Description
    System.Int32

    pattern

    Declaration
    public string pattern { get; set; }
    Property Value
    Type Description
    System.String
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023