SerializationUtilities.GetPositionInfo Method
Gets the position of the reader in the serialization results.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Shared Sub GetPositionInfo ( _
reader As XmlReader, _
<OutAttribute> ByRef line As Integer, _
<OutAttribute> ByRef column As Integer _
)
public static void GetPositionInfo(
XmlReader reader,
out int line,
out int column
)
public:
static void GetPositionInfo(
XmlReader^ reader,
[OutAttribute] int% line,
[OutAttribute] int% column
)
static member GetPositionInfo :
reader:XmlReader *
line:int byref *
column:int byref -> unit
public static function GetPositionInfo(
reader : XmlReader,
line : int,
column : int
)
Parameters
- reader
Type: System.Xml.XmlReader
The reader.
- line
Type: System.Int32%
The line that the reader is on. -1 if the line is not available.
- column
Type: System.Int32%
The column that the reader is in. -1 if the column is not available.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.