다음을 통해 공유


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입니다.

예외

itemValues이(가) null인 경우

itemListViewDataItem 개체가 아닙니다.

설명

ExtractItemValues 메서드는 컨트롤에서 선언된 각 필드의 값을 검색하기 위해 호출 ListView 되는 item도우미 메서드입니다. 매개 변수를 사용하여 includePrimaryKey 추출된 값에 키 필드가 포함되는지 여부를 지정할 수 있습니다.

적용 대상

추가 정보