PatternAttribute クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
文字列フィールドを検証する正規表現を指定します。
[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 |
文字列フィールドを検証する正規表現を指定します。 |