XObjectChangeEventArgs Class

Definition

提供 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
Inheritance
XObjectChangeEventArgs

Remarks

這個類別的目的是要保存當 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.

Constructors

XObjectChangeEventArgs(XObjectChange)

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

Fields

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.

Properties

ObjectChange

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

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

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

(Inherited from Object)
GetType()

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

(Inherited from Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

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

(Inherited from Object)

Applies to

See also