다음을 통해 공유


ContextDataSourceView.ExecuteUpdate 메서드

정의

지정된 행 키 값, 행 값 및 충돌을 검색하는 데 사용되는 행 값을 사용하여 업데이트 작업을 수행합니다.

protected:
 override int ExecuteUpdate(System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ values, System::Collections::IDictionary ^ oldValues);
protected override int ExecuteUpdate (System.Collections.IDictionary keys, System.Collections.IDictionary values, System.Collections.IDictionary oldValues);
override this.ExecuteUpdate : System.Collections.IDictionary * System.Collections.IDictionary * System.Collections.IDictionary -> int
Protected Overrides Function ExecuteUpdate (keys As IDictionary, values As IDictionary, oldValues As IDictionary) As Integer

매개 변수

keys
IDictionary

업데이트할 레코드에 대한 행 키 값 사전입니다.

values
IDictionary

데이터 요소와 새 값을 나타내는 이름/값 쌍의 사전입니다.

oldValues
IDictionary

데이터 요소와 원래 값을 나타내는 이름/값 쌍의 사전으로, 데이터 충돌 검색에 사용됩니다.

반환

Int32

데이터 소스에서 업데이트된 행의 수입니다.

적용 대상