XObjectChangeEventArgs 類別

定義

提供 ChangingChanged 事件的資料。Provides data for the Changing and Changed events.

public ref class XObjectChangeEventArgs : EventArgs
public class XObjectChangeEventArgs : EventArgs
type XObjectChangeEventArgs = class
    inherit EventArgs
Public Class XObjectChangeEventArgs
Inherits EventArgs
繼承
XObjectChangeEventArgs

備註

這個類別的目的是要保存當 LINQ to XMLLINQ to XML 引發事件時,傳遞至事件處理常式的引數。The purpose of this class is to hold the argument that is passed to an event handler when LINQ to XMLLINQ to XML raises events.

建構函式

XObjectChangeEventArgs(XObjectChange)

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

欄位

Add

Add 變更事件的事件引數。Event argument for an Add change event.

Name

Name 變更事件的事件引數。Event argument for a Name change event.

Remove

Remove 變更事件的事件引數。Event argument for a Remove change event.

Value

Value 變更事件的事件引數。Event argument for a Value change event.

屬性

ObjectChange

取得變更類型。Gets the type of change.

方法

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 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於

另請參閱