Class UnknownXml
An opaque island of source XML preserved for lossless round-trip. Islands attach to the nearest model object that hosted the unparsed markup; nothing encountered during parsing is silently discarded.
public sealed class UnknownXml
- Inheritance
-
UnknownXml
- Inherited Members
Constructors
- UnknownXml(string, string, UnknownXmlKind)
Initializes an island.
Properties
- Kind
Gets the reason the XML was preserved.
- Location
Gets the source location (part name and element path, no indices).
- OuterXml
Gets the preserved raw XML.
Methods
- Clone()
Returns a copy of this island (islands are immutable, so this returns the same data).