Bewerken

Share via


XObjectChangeEventArgs Class

Definition

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

The purpose of this class is to hold the argument that is passed to an event handler when LINQ to XML raises events.

Constructors

XObjectChangeEventArgs(XObjectChange)

Initializes a new instance of the XObjectChangeEventArgs class.

Fields

Add

Event argument for an Add change event.

Name

Event argument for a Name change event.

Remove

Event argument for a Remove change event.

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()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

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