ListView.ExtractItemValues(IOrderedDictionary, ListViewItem, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the values of each field that is declared in the specified item, and stores them in the specified IOrderedDictionary object.
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)
Parameters
- itemValues
- IOrderedDictionary
A dictionary object that is used to store the field values.
- item
- ListViewItem
The ListViewItem object from which to retrieve the field values.
- includePrimaryKey
- Boolean
true
to include the primary key field or fields; otherwise, false
.
Exceptions
itemValues
is null
.
item
is not a ListViewDataItem object.
Remarks
The ExtractItemValues method is a helper method that is called by the ListView control to retrieve the values of each field that is declared in item
. You can specify whether the extracted values include key fields by using the includePrimaryKey
parameter.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기