Breyta

Deila með


DataRowAction Enum

Definition

Describes an action performed on a DataRow.

This enumeration supports a bitwise combination of its member values.

public enum class DataRowAction
[System.Flags]
public enum DataRowAction
[<System.Flags>]
type DataRowAction = 
Public Enum DataRowAction
Inheritance
DataRowAction
Attributes

Fields

Name Value Description
Nothing 0

The row has not changed.

Delete 1

The row was deleted from the table.

Change 2

The row has changed.

Rollback 4

The most recent change to the row has been rolled back.

Commit 8

The changes to the row have been committed.

Add 16

The row has been added to the table.

ChangeOriginal 32

The original version of the row has been changed.

ChangeCurrentAndOriginal 64

The original and the current versions of the row have been changed.

Remarks

A DataRowAction is returned as part of the DataRowChangeEventArgs to indicate the action that was taken on a row to raise the event.

Use the members of this enumeration to determine the action that has occurred on a DataRow with regard to the DataTable to which it belongs.

Applies to

See also