SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 278 | Next

Scott Klein

"Professional LINQ"


To effectively work with events, LINQ to XML provides three types, described in the following table.
167
Part II: LINQ to XML
Type Description
XObjectChange Specifies an event type when an event is raised for an
XObject, such as an element or attribute.
XObjectChangeEventArgs Provides the necessary argument data for the
Changing and Changed events.
XObectChangeEventHandler Represents the methods that will handle the Changing
and Changed events of the specified XObject.
Changing
The Changing event occurs prior to applying any changes to the XObject or any of its descendants. In
other words, this event is fired when an element or attribute, or any of its descendants, is about to change.
When you request a change to an element of an XML tree, a Changing event is raised.
The best way to illustrate this is by example. The following code defines an XML tree, defines
an event, and applies the defined event to the root node. Finally, a new element is added to the XML
tree. Remember, events apply to an XObject or any of its descendants.


Pages:
266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6