ListView.ExtractItemValues(IOrderedDictionary, ListViewItem, Boolean) メソッド

定義

指定した項目で宣言されている各フィールドの値を取得し、指定した IOrderedDictionary オブジェクトに格納します。

public:
 virtual void ExtractItemValues(System::Collections::Specialized::IOrderedDictionary ^ itemValues, System::Web::UI::WebControls::ListViewItem ^ item, bool includePrimaryKey);
public virtual void ExtractItemValues (System.Collections.Specialized.IOrderedDictionary itemValues, System.Web.UI.WebControls.ListViewItem item, bool includePrimaryKey);
abstract member ExtractItemValues : System.Collections.Specialized.IOrderedDictionary * System.Web.UI.WebControls.ListViewItem * bool -> unit
override this.ExtractItemValues : System.Collections.Specialized.IOrderedDictionary * System.Web.UI.WebControls.ListViewItem * bool -> unit
Public Overridable Sub ExtractItemValues (itemValues As IOrderedDictionary, item As ListViewItem, includePrimaryKey As Boolean)

パラメーター

itemValues
IOrderedDictionary

フィールド値を格納するために使用するディクショナリ オブジェクト。

item
ListViewItem

フィールド値を取得する ListViewItem オブジェクト。

includePrimaryKey
Boolean

1 つ以上の主キー フィールドを含める場合は true。それ以外の場合は false

例外

itemValuesnullです。

itemListViewDataItem オブジェクトではありません。

注釈

メソッドは ExtractItemValues 、で宣言されている各フィールドの値を ListView 取得するためにコントロールによって呼び出される itemヘルパー メソッドです。 パラメーターを使用して、抽出された値にキー フィールドを includePrimaryKey 含めるかどうかを指定できます。

適用対象

こちらもご覧ください