IVsTextStorage.Storage_GetPositionOfLineIndex Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
‘선언
Function Storage_GetPositionOfLineIndex ( _
iLine As Integer, _
iIndex As Integer, _
<OutAttribute> ByRef piPosition As Integer _
) As Integer
‘사용 방법
Dim instance As IVsTextStorage
Dim iLine As Integer
Dim iIndex As Integer
Dim piPosition As Integer
Dim returnValue As Integer
returnValue = instance.Storage_GetPositionOfLineIndex(iLine, _
iIndex, piPosition)
int Storage_GetPositionOfLineIndex(
int iLine,
int iIndex,
out int piPosition
)
int Storage_GetPositionOfLineIndex(
[InAttribute] int iLine,
[InAttribute] int iIndex,
[OutAttribute] int% piPosition
)
abstract Storage_GetPositionOfLineIndex :
iLine:int *
iIndex:int *
piPosition:int byref -> int
function Storage_GetPositionOfLineIndex(
iLine : int,
iIndex : int,
piPosition : int
) : int
Parameters
- iLine
Type: System.Int32
[in]
- iIndex
Type: System.Int32
[in]
- piPosition
Type: System.Int32%
[out]
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_GetPositionOfLineIndex(
[in] long iLine,
[in] CharIndex iIndex,
[out] long *piPosition
);
.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.