IVsTextLayer.LocalLineIndexToDeeperLayer(IVsTextLayer, Int32, Int32, Int32, Int32) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Converte as coordenadas de linha locais em coordenadas de linha de camada mais profundas.
public:
int LocalLineIndexToDeeperLayer(Microsoft::VisualStudio::TextManager::Interop::IVsTextLayer ^ pTargetLayer, int iLocalLine, int iLocalIndex, [Runtime::InteropServices::Out] int % piTargetLine, [Runtime::InteropServices::Out] int % piTargetIndex);
int LocalLineIndexToDeeperLayer(Microsoft::VisualStudio::TextManager::Interop::IVsTextLayer const & pTargetLayer, int iLocalLine, int iLocalIndex, [Runtime::InteropServices::Out] int & piTargetLine, [Runtime::InteropServices::Out] int & piTargetIndex);
public int LocalLineIndexToDeeperLayer (Microsoft.VisualStudio.TextManager.Interop.IVsTextLayer pTargetLayer, int iLocalLine, int iLocalIndex, out int piTargetLine, out int piTargetIndex);
abstract member LocalLineIndexToDeeperLayer : Microsoft.VisualStudio.TextManager.Interop.IVsTextLayer * int * int * int * int -> int
Public Function LocalLineIndexToDeeperLayer (pTargetLayer As IVsTextLayer, iLocalLine As Integer, iLocalIndex As Integer, ByRef piTargetLine As Integer, ByRef piTargetIndex As Integer) As Integer
Parâmetros
- pTargetLayer
- IVsTextLayer
no A camada mais profunda direcionada.
- iLocalLine
- Int32
no A linha local.
- iLocalIndex
- Int32
no O índice de caracteres de linha local.
- piTargetLine
- Int32
fora A linha de camada mais profunda de destino.
- piTargetIndex
- Int32
fora O índice de caracteres de linha de camada mais profundo direcionado.
Retornos
Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro. O método retorna VIEW_E_LOCATION_HIDDEN indicando que as coordenadas que você solicitou existem, mas que estão ocultas na interface do usuário no momento. O método retorna E_INVALIDARG para indicar parâmetros de entrada inválidos.
Comentários
Assinatura COM
De textmgr. idl:
HRESULT IVsTextLayer::LocalLineIndexToDeeperLayer(
[in] IVsTextLayer *pTargetLayer,
[in] long iLocalLine,
[in] CharIndex iLocalIndex,
[out] long *piTargetLine,
[out] CharIndex *piTargetIndex
);