ToXml Method
Collapse the table of content
Expand the table of content

EventLogRecord.ToXml Method ()

.NET Framework (current version)

Gets the XML representation of the event. All of the event properties are represented in the event's XML. The XML conforms to the event schema.

Namespace:   System.Diagnostics.Eventing.Reader
Assembly:  System.Core (in System.Core.dll)

public override string ToXml()

Return Value

Type: System.String

Returns a string that contains the XML representation of the event.

.NET Framework
Available since 3.5
Return to top
© 2016 Microsoft