ListView.ExtractItemValues(IOrderedDictionary, ListViewItem, Boolean) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した項目で宣言されている各フィールドの値を取得し、指定した 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。
例外
itemValues は nullです。
item は ListViewDataItem オブジェクトではありません。
注釈
ExtractItemValues メソッドは、itemで宣言されている各フィールドの値を取得するために、ListView コントロールによって呼び出されるヘルパー メソッドです。
includePrimaryKey パラメーターを使用して、抽出された値にキー フィールドを含めるかどうかを指定できます。