GetXmlReader
This method returns the contents of an XMLType column as an instance of an .NET XmlTextReader object.
Declaration
// C#
public XmlReader GetXmlReader(int index);Parameters
-
indexThe zero-based column index.
Return Value
A .NET XmlTextReader.
Exceptions
InvalidCastException - The accessor method is invalid for this column type or the column value is NULL.
Remarks
IsDBNull should be called to check for NULL values before calling this method.