ApocDriverRender Method (XmlDocument, Stream) |
Executes the conversion reading the source tree from the supplied
XmlDocument, converting it to a format dictated by the renderer
and writing it to the supplied output stream.
Namespace: Kettic.AspNet.Controls.Toolkit.ApocAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic virtual void Render(
XmlDocument doc,
Stream outputStream
)
Public Overridable Sub Render (
doc As XmlDocument,
outputStream As Stream
)
public:
virtual void Render(
XmlDocument^ doc,
Stream^ outputStream
)
abstract Render :
doc : XmlDocument *
outputStream : Stream -> unit
override Render :
doc : XmlDocument *
outputStream : Stream -> unit
Parameters
- doc
- Type: System.XmlXmlDocument
An in-memory representation of an XML document (DOM).
- outputStream
- Type: System.IOStream
Any subclass of the Stream class.
Implements
IDriverRender(XmlDocument, Stream)
Remarks
Any exceptions that occur during the render process are arranged
into three categories: information, warning and error. You may
intercept any or all of theses exceptional states by registering
an event listener. See
OnError for an
example of registering an event listener. If there are no
registered listeners, the exceptions are dumped to standard out -
except for the error event which is wrapped in a
SystemException.
See Also