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

声明
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

  • 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

See Also

Reference

SerializationUtilities Class

Microsoft.VisualStudio.Modeling Namespace