StartElement Event
Fired when a begin-element tag is encountered in the document.
Syntax
[VB.NET] Public Event OnStartElement As OnStartElementHandler
[C#] public event OnStartElementHandler OnStartElement; public delegate void OnStartElementHandler(object sender, RestStartElementEventArgs e); class RestStartElementEventArgs : EventArgs { string Namespace {get;} string Element {get;} string QName {get;} bool IsEmpty {get;} }
Remarks
The StartElement event is fired when a begin-element tag is found in the document.
The element name is provided through the Element parameter. The attribute names and values (if any) are provided through the XAttributes collection .
The IsEmpty parameter is true when the event corresponds with an empty element declaration.