DataColumnChangeEventArgs 类

定义

ColumnChanging 事件提供数据。Provides data for the ColumnChanging event.

public ref class DataColumnChangeEventArgs : EventArgs
public class DataColumnChangeEventArgs : EventArgs
type DataColumnChangeEventArgs = class
    inherit EventArgs
Public Class DataColumnChangeEventArgs
Inherits EventArgs
继承
DataColumnChangeEventArgs

注解

当对 DataTable中列的值进行更改时,将发生 ColumnChanging 事件。The ColumnChanging event occurs when a change is made to the value of a column in the DataTable.

构造函数

DataColumnChangeEventArgs(DataRow, DataColumn, Object)

初始化 DataColumnChangeEventArgs 类的新实例。Initializes a new instance of the DataColumnChangeEventArgs class.

属性

Column

获取带有可变值的 DataColumnGets the DataColumn with a changing value.

ProposedValue

获取或设置列的建议新值。Gets or sets the proposed new value for the column.

Row

获取带有可变值的列的 DataRowGets the DataRow of the column with a changing value.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅