StartElement Event
Fired when a begin-element tag is encountered in the document.
Syntax
public event OnStartElementHandler OnStartElement; public delegate void OnStartElementHandler(object sender, SamlStartElementEventArgs e); public class SamlStartElementEventArgs : EventArgs { public string Namespace { get; } public string Element { get; } public string QName { get; } public bool IsEmpty { get; } }
Public Event OnStartElement As OnStartElementHandler Public Delegate Sub OnStartElementHandler(sender As Object, e As SamlStartElementEventArgs) Public Class SamlStartElementEventArgs Inherits EventArgs Public ReadOnly Property Namespace As String Public ReadOnly Property Element As String Public ReadOnly Property QName As String Public ReadOnly Property IsEmpty As Boolean End Class
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.