Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Converts a text stream position to a line and column index.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Public Overridable Function GetLineAndColumn ( _
iPos As Integer, _
<OutAttribute> ByRef piLine As Integer, _
<OutAttribute> ByRef piIndex As Integer _
) As Integer
'Usage
Dim instance As VsTextViewClass
Dim iPos As Integer
Dim piLine As Integer
Dim piIndex As Integer
Dim returnValue As Integer
returnValue = instance.GetLineAndColumn(iPos, _
piLine, piIndex)
public virtual int GetLineAndColumn(
int iPos,
out int piLine,
out int piIndex
)
public:
virtual int GetLineAndColumn(
[InAttribute] int iPos,
[OutAttribute] int% piLine,
[OutAttribute] int% piIndex
)
abstract GetLineAndColumn :
iPos:int *
piLine:int byref *
piIndex:int byref -> int
override GetLineAndColumn :
iPos:int *
piLine:int byref *
piIndex:int byref -> int
public function GetLineAndColumn(
iPos : int,
piLine : int,
piIndex : int
) : int
Parameters
- iPos
Type: System.Int32
[in] Integer containing the position in the text stream.
- piLine
Type: System.Int32%
[out] Pointer containing the line index corresponding to the stream position.
- piIndex
Type: System.Int32%
[out] Pointer containing the column index corresponding to the stream position.
Return Value
Type: System.Int32
Implements
IVsTextView.GetLineAndColumn(Int32, Int32%, Int32%)
.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.