ValidationHelper.ClassFor(String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ユーザー入力要素の検証メッセージが表示される場合に、使用される CSS スタイル定義を参照する属性を表示します。
public System.Web.HtmlString ClassFor (string field);
member this.ClassFor : string -> System.Web.HtmlString
Public Function ClassFor (field As String) As HtmlString
パラメーター
- field
- String
検証するユーザー入力要素の名前 (name 属性の値)。
戻り値
属性。