Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.5.1, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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:
© 2014 Microsoft. All rights reserved.