Export (0) Print
Expand All

SqlXml Class

Represents XML data stored in or retrieved from a server.

System.Object
  System.Data.SqlTypes.SqlXml

Namespace:  System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

[SerializableAttribute]
public sealed class SqlXml : INullable, 
	IXmlSerializable

The SqlXml type exposes the following members.

  NameDescription
Public methodSupported by the XNA FrameworkSqlXml()Creates a new SqlXml instance.
Public methodSupported by the XNA FrameworkSqlXml(Stream)Creates a new SqlXml instance, supplying the XML value from the supplied Stream-derived instance.
Public methodSupported by the XNA FrameworkSqlXml(XmlReader)Creates a new SqlXml instance and associates it with the content of the supplied XmlReader.
Top

  NameDescription
Public propertySupported by the XNA FrameworkIsNullIndicates whether this instance represents a null SqlXml value.
Public propertyStatic memberSupported by the XNA FrameworkNullRepresents a null instance of the SqlXml type.
Public propertySupported by the XNA FrameworkValueGets the string representation of the XML content of this SqlXml instance.
Top

  NameDescription
Public methodSupported by the XNA FrameworkCreateReaderGets the value of the XML content of this SqlXml as a XmlReader.
Public methodSupported by the XNA FrameworkEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodSupported by the XNA FrameworkGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberSupported by the XNA FrameworkGetXsdTypeReturns the XML Schema definition language (XSD) of the specified XmlSchemaSet.
Public methodSupported by the XNA FrameworkToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodSupported by the XNA FrameworkIXmlSerializable.GetSchemaFor a description of this member, see GetSchema.
Explicit interface implemetationPrivate methodSupported by the XNA FrameworkIXmlSerializable.ReadXmlFor a description of this member, see ReadXml.
Explicit interface implemetationPrivate methodSupported by the XNA FrameworkIXmlSerializable.WriteXmlFor a description of this member, see WriteXml.
Top

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft