Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
XObjectChangeEventArgs Constructor

XObjectChangeEventArgs Constructor

Initializes a new instance of the XObjectChangeEventArgs class.

Namespace:  System.Xml.Linq
Assemblies:   System.Xml.XDocument (in System.Xml.XDocument.dll)
  System.Xml.Linq (in System.Xml.Linq.dll)

public XObjectChangeEventArgs(
	XObjectChange objectChange
)

Parameters

objectChange
Type: System.Xml.Linq.XObjectChange

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

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft