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.
Returns the length of a line.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Public Overridable Function GetLineLength ( _
iLine As Integer, _
<OutAttribute> ByRef piLength As Integer _
) As Integer
'Usage
Dim instance As VsTextImageClass
Dim iLine As Integer
Dim piLength As Integer
Dim returnValue As Integer
returnValue = instance.GetLineLength(iLine, _
piLength)
public virtual int GetLineLength(
int iLine,
out int piLength
)
public:
virtual int GetLineLength(
[InAttribute] int iLine,
[OutAttribute] int% piLength
)
abstract GetLineLength :
iLine:int *
piLength:int byref -> int
override GetLineLength :
iLine:int *
piLength:int byref -> int
public function GetLineLength(
iLine : int,
piLength : int
) : int
Parameters
- iLine
Type: System.Int32
[in] Integer containing the line number.
- piLength
Type: System.Int32%
[out] Pointer to an integer containing the character count of the line.
Return Value
Type: System.Int32
Implements
IVsTextImage.GetLineLength(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.