PI Event
Fired when a processing instruction section is encountered.
Syntax
[VB.NET] Public Event OnPI As OnPIHandler
[C#] public event OnPIHandler OnPI; public delegate void OnPIHandler(object sender, RestPIEventArgs e); class RestPIEventArgs : EventArgs { string Text {get;} }
Remarks
The PI event is fired whenever a processing instruction section (<? ..text... ?>) is found in the document.
The full text of the processing instruction is provided by the Text parameter.