ValidatorCollection.Item プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ValidatorCollection.Item プロパティの意味・解説 

ValidatorCollection.Item プロパティ

ValidatorCollection コレクション指定したインデックス位置にある検証サーバー コントロール取得します

名前空間: System.Web.UI
アセンブリ: System.Web (system.web.dll 内)
構文構文

使用例使用例

Item プロパティ使用したコード例次に示します

' Get 'Validators' of the page to myCollection.
Dim myCollection As ValidatorCollection = Page.Validators
' Print the values of Collection using 'Item' property.
Dim myStr As String = "
 "
Dim i As Integer
For i = 0 To myCollection.Count - 1
   myStr = mystr & CType(myCollection(i),BaseValidator).ToString() & "<br>"
Next i
msgLabel.Text = myStr
// Get 'Validators' of the page to myCollection.
ValidatorCollection myCollection = Page.Validators;

// Print the values of Collection using 'Item' property.
string myStr = " ";         
for(int i = 0; i<myCollection.Count; i++)
{
   myStr += myCollection[i].ToString();
   myStr += " ";
}
msgLabel.Text = myStr;        
// Get 'Validators' of the page to myCollection.
ValidatorCollection myCollection = get_Validators();

// Print the values of Collection using 'Item' property.
String myStr = " ";         
for(int i = 0; i<myCollection.get_Count();
 i++) {
    myStr += System.Convert.ToString(myCollection.get_Item(i));
    myStr += " ";
}
msgLabel.set_Text(myStr);        
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ValidatorCollection クラス
ValidatorCollection メンバ
System.Web.UI 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からValidatorCollection.Item プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からValidatorCollection.Item プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からValidatorCollection.Item プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

ValidatorCollection.Item プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ValidatorCollection.Item プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS