System.Data.SqlTypes.SqlXml Class

Represents XML data stored in or retrieved from a server.

See Also: SqlXml Members


public sealed class SqlXml : INullable, System.Xml.Serialization.IXmlSerializable


This class contains an instance of an System.Xml.XmlReader-derived type, and adds SQL-specific features such as database-style null semantics by implementing the System.Data.SqlTypes.INullable interface. When you use SqlXml, the XML value that you assign to the SqlXml instance must be consumable by an System.Xml.XmlReader. For unicode data, the Byte Order Mark (BOM) must be present in the stream of data.


Namespace: System.Data.SqlTypes
Assembly: System.Data (in System.Data.dll)
Assembly Versions:
Since: .NET 2.0