IVsTextStorage.Storage_GetLengthOfLine Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
‘선언
Function Storage_GetLengthOfLine ( _
iLine As Integer, _
<OutAttribute> ByRef piLength As Integer _
) As Integer
‘사용 방법
Dim instance As IVsTextStorage
Dim iLine As Integer
Dim piLength As Integer
Dim returnValue As Integer
returnValue = instance.Storage_GetLengthOfLine(iLine, _
piLength)
int Storage_GetLengthOfLine(
int iLine,
out int piLength
)
int Storage_GetLengthOfLine(
[InAttribute] int iLine,
[OutAttribute] int% piLength
)
abstract Storage_GetLengthOfLine :
iLine:int *
piLength:int byref -> int
function Storage_GetLengthOfLine(
iLine : int,
piLength : int
) : int
Parameters
- iLine
Type: System.Int32
[in] Index of line of interest.
- piLength
Type: System.Int32%
[out] Length of line.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextStorage::Storage_GetLengthOfLine(
[in] long iLine,
[out] long *piLength
);
.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.