语言

IFieldState<T>.Pattern 属性

定义

正则表达式用于验证字符串。

public string Pattern { get; }
member this.Pattern : string
Public ReadOnly Property Pattern As String

属性值

验证正则表达式。

注解

这通常反映了设置 PatternAttribute的结果。

适用于