SqlXml Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
SqlXml(Stream)
- Source:
- SqlXml.cs
- Source:
- SqlXml.cs
- Source:
- SqlXml.cs
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om