次の方法で共有


PatternAttribute クラス

定義

文字列フィールドを検証する正規表現を指定します。

[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
[System.Serializable]
public class PatternAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)>]
[<System.Serializable>]
type PatternAttribute = class
    inherit Attribute
Public Class PatternAttribute
Inherits Attribute
継承
PatternAttribute
属性

注釈

正規表現が一致 NotUnderstood しない場合、テンプレートはフィードバックに使用されます。

コンストラクター

PatternAttribute(String)

文字列フィールドの内容を検証するための正規表現。

フィールド

Pattern

文字列フィールドを検証する正規表現を指定します。

適用対象