Share via


SerializationUtilities.GetPositionInfo(XmlReader, Int32, Int32) Method

Definition

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.

Applies to