XObjectChangeEventArgs(XObjectChange) Constructor

Definition

Initializes a new instance of the XObjectChangeEventArgs class.

public:
 XObjectChangeEventArgs(System::Xml::Linq::XObjectChange objectChange);
public XObjectChangeEventArgs (System.Xml.Linq.XObjectChange objectChange);
new System.Xml.Linq.XObjectChangeEventArgs : System.Xml.Linq.XObjectChange -> System.Xml.Linq.XObjectChangeEventArgs
Public Sub New (objectChange As XObjectChange)

Parameters

objectChange
XObjectChange

An XObjectChange that contains the event arguments for LINQ to XML events.

Remarks

The read-only fields Add, Remove, Name, and Value provide predefined instances for all the event arguments that are raised in LINQ to XML. A typical user will not need to construct event arguments.

Applies to

See also