DataColumnChangeEventArgs DataColumnChangeEventArgs DataColumnChangeEventArgs DataColumnChangeEventArgs Class

定義

提供 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
繼承
DataColumnChangeEventArgsDataColumnChangeEventArgsDataColumnChangeEventArgsDataColumnChangeEventArgs

備註

ColumnChangingDataTable中的資料行值進行變更時, 就會發生此事件。The ColumnChanging event occurs when a change is made to the value of a column in the DataTable.

建構函式

DataColumnChangeEventArgs(DataRow, DataColumn, Object) DataColumnChangeEventArgs(DataRow, DataColumn, Object) DataColumnChangeEventArgs(DataRow, DataColumn, Object) DataColumnChangeEventArgs(DataRow, DataColumn, Object)

初始化 DataColumnChangeEventArgs 類別的新執行個體。Initializes a new instance of the DataColumnChangeEventArgs class.

屬性

Column Column Column Column

取得具有正在變更的值之 DataColumnGets the DataColumn with a changing value.

ProposedValue ProposedValue ProposedValue ProposedValue

取得或設定資料欄的建議新值。Gets or sets the proposed new value for the column.

Row Row Row Row

取得具有正在變更的值之資料行的 DataRowGets the DataRow of the column with a changing value.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

適用於

另請參閱