IP*Works! 2016 .NET Edition
IP*Works! 2016 .NET Edition
Questions / Feedback?

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, XmlStartElementEventArgs e);

class XmlStartElementEventArgs : 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.

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 .NET Edition - Version 16.0 [Build 7353]