ValidatorCollection.Item プロパティ
アセンブリ: System.Web (system.web.dll 内)

Dim instance As ValidatorCollection Dim index As Integer Dim value As IValidator value = instance(index)
プロパティ値
指定した検証コントロールの値。

' 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);

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からValidatorCollection.Item プロパティを検索する場合は、下記のリンクをクリックしてください。

- ValidatorCollection.Item プロパティのページへのリンク