GridView.ExtractRowValues 메서드

정의

지정된 행 내에서 선언된 각 필드의 값을 검색하여 지정된 IOrderedDictionary 개체에 저장합니다.

protected:
 virtual void ExtractRowValues(System::Collections::Specialized::IOrderedDictionary ^ fieldValues, System::Web::UI::WebControls::GridViewRow ^ row, bool includeReadOnlyFields, bool includePrimaryKey);
protected virtual void ExtractRowValues (System.Collections.Specialized.IOrderedDictionary fieldValues, System.Web.UI.WebControls.GridViewRow row, bool includeReadOnlyFields, bool includePrimaryKey);
abstract member ExtractRowValues : System.Collections.Specialized.IOrderedDictionary * System.Web.UI.WebControls.GridViewRow * bool * bool -> unit
override this.ExtractRowValues : System.Collections.Specialized.IOrderedDictionary * System.Web.UI.WebControls.GridViewRow * bool * bool -> unit
Protected Overridable Sub ExtractRowValues (fieldValues As IOrderedDictionary, row As GridViewRow, includeReadOnlyFields As Boolean, includePrimaryKey As Boolean)

매개 변수

fieldValues
IOrderedDictionary

필드 값을 저장하는 데 사용되는 IOrderedDictionary입니다.

row
GridViewRow

필드 값을 검색할 GridViewRow입니다.

includeReadOnlyFields
Boolean

읽기 전용 필드를 포함하려면 true이고, 그렇지 않으면 false입니다.

includePrimaryKey
Boolean

기본 키 필드를 포함하려면 true이고, 그렇지 않으면 false입니다.

설명

ExtractRowValues 메서드는 매개 변수로 GridView 지정된 행 내에 선언된 각 필드의 값을 검색하기 위해 컨트롤에서 호출하는 row 도우미 메서드입니다. 추출된 값에 각각 및 매개 변수를 사용하여 includeReadOnlyFields includePrimaryKey 읽기 전용 필드와 키 필드를 포함할지 여부를 지정할 수 있습니다.

상속자 참고

클래스를 GridView 확장할 때 필드 값을 검색하는 고유한 루틴을 만들도록 이 메서드를 재정의할 수 있습니다.

적용 대상

추가 정보