SqlXml Constructor (XmlReader)

 

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

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

public SqlXml(
	XmlReader value
)

Parameters

value
Type: System.Xml.XmlReader

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

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

.NET Framework
Available since 2.0
Return to top
Show: