次の方法で共有


PagedDataSource.GetItemProperties メソッド

データを連結するために使用される各項目のプロパティを表す System.ComponentModel.PropertyDescriptorCollection を返します。

Public Overridable Function GetItemProperties( _
   ByVal listAccessors() As PropertyDescriptor _) As PropertyDescriptorCollection Implements ITypedList.GetItemProperties
[C#]
public virtual PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors);
[C++]
public: virtual PropertyDescriptorCollection* GetItemProperties(PropertyDescriptor* listAccessors[]);
[JScript]
public function GetItemProperties(
   listAccessors : PropertyDescriptor[]) : PropertyDescriptorCollection;

パラメータ

  • listAccessors
    返されるリスト名を格納する System.ComponentModel.PropertyDescriptor オブジェクトの配列。この値は、 null 参照 (Visual Basic では Nothing) でもかまいません。

戻り値

データを連結するために使用される各項目のプロパティを表す System.ComponentModel.PropertyDescriptorCollection

実装

ITypedList.GetItemProperties

解説

GetItemProperties メソッドを使用して、データを連結するために使用される各項目のプロパティを表す System.ComponentModel.PropertyDescriptorCollection を作成します。 DataSource プロパティが null 参照 (Visual Basic では Nothing) の場合や System.ComponentModel.ITypedList 実装オブジェクトではない場合は、 null 参照 (Nothing) が返されます。 GetItemProperties メソッドの詳細については、 ITypedList.GetItemProperties のトピックを参照してください。

必要条件

プラットフォーム: Windows 2000, Windows XP Professional, Windows Server 2003 ファミリ

参照

PagedDataSource クラス | PagedDataSource メンバ | System.Web.UI.WebControls 名前空間 | System.ComponentModel.ITypedList | System.ComponentModel.PropertyDescriptorCollection | System.ComponentModel.PropertyDescriptor | ITypedList.GetItemProperties