RepeaterItemCollection クラスとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > RepeaterItemCollection クラスの意味・解説 

RepeaterItemCollection クラス

Repeater コントロール内の RepeaterItem オブジェクトコレクション表します。このクラス継承できません。

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

Public NotInheritable Class
 RepeaterItemCollection
    Implements ICollection, IEnumerable
Dim instance As RepeaterItemCollection
public sealed class RepeaterItemCollection
 : ICollection, IEnumerable
public ref class RepeaterItemCollection sealed
 : ICollection, IEnumerable
public final class RepeaterItemCollection implements
 ICollection, IEnumerable
public final class RepeaterItemCollection implements
 ICollection, IEnumerable
解説解説
使用例使用例
Sub Page_Load(Sender As Object,
 e As EventArgs)
   If Not IsPostBack Then
      Dim myDataSource As New
 ArrayList()

      myDataSource.Add(New PositionData("Item
 1", "$6.00"))
      myDataSource.Add(New PositionData("Item
 2", "$7.48"))
      myDataSource.Add(New PositionData("Item
 3", "$9.96"))

      ' Initialize the RepeaterItemCollection using the ArrayList as
 the data source.
      Dim myCollection As New
 RepeaterItemCollection(myDataSource)
      myRepeater.DataSource = myCollection
      myRepeater.DataBind()
   End If
End Sub 'Page_Load
void Page_Load(Object Sender, EventArgs e)
{
   if (!IsPostBack)
   {
      ArrayList myDataSource = new ArrayList();

      myDataSource.Add(new PositionData("Item 1", "$6.00"));
      myDataSource.Add(new PositionData("Item 2", "$7.48"));
      myDataSource.Add(new PositionData("Item 3", "$9.96"));
      
      // Initialize the RepeaterItemCollection using the ArrayList as
 the data source.
      RepeaterItemCollection myCollection = new RepeaterItemCollection(myDataSource);
      myRepeater.DataSource = myCollection;
      myRepeater.DataBind();
   }
}
継承階層継承階層
System.Object
  System.Web.UI.WebControls.RepeaterItemCollection
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
RepeaterItemCollection メンバ
System.Web.UI.WebControls 名前空間
RepeaterItem クラス
Repeater クラス
Repeater.Items プロパティ
CopyTo
GetEnumerator
Count


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

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

辞書ショートカット

すべての辞書の索引

「RepeaterItemCollection クラス」の関連用語

RepeaterItemCollection クラスのお隣キーワード
検索ランキング

   

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



RepeaterItemCollection クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS