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

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

ObjectList.AllFields プロパティ

ObjectList クラスからすべてのフィールドのコレクションを返します。明示的に生成されたフィールドと自動生成されたフィールドの両方が対象になります。明示的に生成されたフィールドがなければ、自動生成されたフィールドのコレクションが既定の値として返されます。

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

<BindableAttribute(False)> _
Public ReadOnly Property
 AllFields As IObjectListFieldCollection
Dim instance As ObjectList
Dim value As IObjectListFieldCollection

value = instance.AllFields
[BindableAttribute(false)] 
public IObjectListFieldCollection AllFields { get;
 }
[BindableAttribute(false)] 
public:
property IObjectListFieldCollection^ AllFields {
    IObjectListFieldCollection^ get ();
}
/** @property */
public IObjectListFieldCollection get_AllFields ()
public function get AllFields
 () : IObjectListFieldCollection

プロパティ値
ObjectList 内のすべてのフィールドを格納している IObjectListFieldCollection オブジェクト。

解説解説
使用例使用例

AllFields プロパティを使用して ObjectList のすべてのフィールドを一覧表示する方法を次のコード例に示します。このコード例は、ObjectList の概要で取り上げているコード例の一部です。

Private Sub AllFields_Click(ByVal
 sender As Object, ByVal
 e As EventArgs)

    ActiveForm = Form5
    Dim spec As String =
 "{0}: {1}<br/>"
    Dim flds As IObjectListFieldCollection
 = List1.AllFields
    Dim i As Integer
    For i = 0 To flds.Count - 1
        TextView1.Text += _
            String.Format(spec, (i + 1), flds(i).Title)
    Next
End Sub
private void AllFields_Click(object sender,
 EventArgs e)
{
    ActiveForm = Form5;
    string spec = "{0}: {1}<br/>";
    IObjectListFieldCollection flds = List1.AllFields;
    for (int i = 0; i < flds.Count; i++)
        TextView1.Text += 
            String.Format(spec, (i + 1), flds[i].Title);
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



ObjectList.AllFields プロパティのページの著作権

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

©2026 GRAS Group, Inc.RSS