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

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

例外

itemValuesnullです。

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

注釈

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

適用対象

こちらもご覧ください