SerializationUtilities.GetPositionInfo(XmlReader, Int32, Int32) Method
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.
Get the position information from an XmlReader if available.
public:
static void GetPositionInfo(System::Xml::XmlReader ^ reader, [Runtime::InteropServices::Out] int % line, [Runtime::InteropServices::Out] int % column);
public static void GetPositionInfo (System.Xml.XmlReader reader, out int line, out int column);
static member GetPositionInfo : System.Xml.XmlReader * int * int -> unit
Public Shared Sub GetPositionInfo (reader As XmlReader, ByRef line As Integer, ByRef column As Integer)
Parameters
- reader
- XmlReader
Reader to get position info from.
- line
- Int32
Line of the reader, -1 if not available.
- column
- Int32
Column of the reader, -1 if not available.