Bewerken

Share via


SqlXml Constructors

Definition

Creates a new SqlXml instance.

Overloads

SqlXml()

Creates a new SqlXml instance.

SqlXml(Stream)

Creates a new SqlXml instance, supplying the XML value from the supplied Stream-derived instance.

SqlXml(XmlReader)

Creates a new SqlXml instance and associates it with the content of the supplied XmlReader.

SqlXml()

Source:
SqlXml.cs
Source:
SqlXml.cs
Source:
SqlXml.cs

Creates a new SqlXml instance.

public:
 SqlXml();
public SqlXml ();
Public Sub New ()

See also

Applies to

SqlXml(Stream)

Source:
SqlXml.cs
Source:
SqlXml.cs
Source:
SqlXml.cs

Creates a new SqlXml instance, supplying the XML value from the supplied Stream-derived instance.

public:
 SqlXml(System::IO::Stream ^ value);
public SqlXml (System.IO.Stream? value);
public SqlXml (System.IO.Stream value);
new System.Data.SqlTypes.SqlXml : System.IO.Stream -> System.Data.SqlTypes.SqlXml
Public Sub New (value As Stream)

Parameters

value
Stream

A Stream-derived instance (such as FileStream) from which to load the SqlXml instance's Xml content.

See also

Applies to

SqlXml(XmlReader)

Source:
SqlXml.cs
Source:
SqlXml.cs
Source:
SqlXml.cs

Creates a new SqlXml instance and associates it with the content of the supplied XmlReader.

public:
 SqlXml(System::Xml::XmlReader ^ value);
public SqlXml (System.Xml.XmlReader? value);
public SqlXml (System.Xml.XmlReader value);
new System.Data.SqlTypes.SqlXml : System.Xml.XmlReader -> System.Data.SqlTypes.SqlXml
Public Sub New (value As XmlReader)

Parameters

value
XmlReader

An XmlReader-derived class instance to be used as the value of the new SqlXml instance.

Remarks

If this value is null (Nothing in Visual Basic), the instance is set so that IsNull returns true.

See also

Applies to