IVsTextStorage.Storage_GetLineIndexOfPosition (Método)
Espacio de nombres: Microsoft.VisualStudio.TextManager.Interop
Ensamblado: Microsoft.VisualStudio.TextManager.Interop (en Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxis
'Declaración
Function Storage_GetLineIndexOfPosition ( _
iPosition As Integer, _
<OutAttribute> ByRef piLine As Integer, _
<OutAttribute> ByRef piIndex As Integer _
) As Integer
int Storage_GetLineIndexOfPosition(
int iPosition,
out int piLine,
out int piIndex
)
int Storage_GetLineIndexOfPosition(
[InAttribute] int iPosition,
[OutAttribute] int% piLine,
[OutAttribute] int% piIndex
)
abstract Storage_GetLineIndexOfPosition :
iPosition:int *
piLine:int byref *
piIndex:int byref -> int
function Storage_GetLineIndexOfPosition(
iPosition : int,
piLine : int,
piIndex : int
) : int
Parámetros
iPosition
Tipo: Int32[in]
piLine
Tipo: Int32%[out]
piIndex
Tipo: Int32%[out]
Valor devuelto
Tipo: Int32
si el método tiene éxito, devuelve S_OK.Si se produce un error, devuelve un código de error.
Comentarios
Prototipo COM
de textmgr.idl:
HRESULT IVsTextStorage::Storage_GetLineIndexOfPosition(
[in] long iPosition,
[out] long *piLine,
[out] CharIndex *piIndex
);
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
Microsoft.VisualStudio.TextManager.Interop (Espacio de nombres)