IVsTextLayer.DeeperLayerLineIndexToLocal(UInt32, IVsTextLayer, Int32, Int32, Int32, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Convertit les coordonnées de ligne de couche plus profondes en coordonnées de ligne locale.
public:
int DeeperLayerLineIndexToLocal(System::UInt32 dwFlags, Microsoft::VisualStudio::TextManager::Interop::IVsTextLayer ^ pTargetLayer, int iLayerLine, int iLayerIndex, [Runtime::InteropServices::Out] int % piLocalLine, [Runtime::InteropServices::Out] int % piLocalIndex);
int DeeperLayerLineIndexToLocal(unsigned int dwFlags, Microsoft::VisualStudio::TextManager::Interop::IVsTextLayer const & pTargetLayer, int iLayerLine, int iLayerIndex, [Runtime::InteropServices::Out] int & piLocalLine, [Runtime::InteropServices::Out] int & piLocalIndex);
public int DeeperLayerLineIndexToLocal (uint dwFlags, Microsoft.VisualStudio.TextManager.Interop.IVsTextLayer pTargetLayer, int iLayerLine, int iLayerIndex, out int piLocalLine, out int piLocalIndex);
abstract member DeeperLayerLineIndexToLocal : uint32 * Microsoft.VisualStudio.TextManager.Interop.IVsTextLayer * int * int * int * int -> int
Public Function DeeperLayerLineIndexToLocal (dwFlags As UInteger, pTargetLayer As IVsTextLayer, iLayerLine As Integer, iLayerIndex As Integer, ByRef piLocalLine As Integer, ByRef piLocalIndex As Integer) As Integer
Paramètres
- dwFlags
- UInt32
[in] ORing de l'énumération DeeperLayerLineIndexToLocalFlags.
- pTargetLayer
- IVsTextLayer
dans Couche plus profonde ciblée.
- iLayerLine
- Int32
dans Ligne de couche la plus profonde ciblée.
- iLayerIndex
- Int32
dans Index de caractère de ligne de couche plus profond ciblé.
- piLocalLine
- Int32
à Ligne locale.
- piLocalIndex
- Int32
à Index de caractère de ligne locale.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur. La méthode retourne une valeur VIEW_E_LOCATION_HIDDEN indiquant que les coordonnées que vous avez demandées existent, mais sont actuellement masquées dans l’interface utilisateur. La méthode retourne E_INVALIDARG pour indiquer des paramètres d’entrée incorrects.
Remarques
Signature COM
À partir de textmgr. idl :
HRESULT IVsTextLayer::DeeperLayerLineIndexToLocal(
[in] DWORD dwFlags,
[in] IVsTextLayer *pTargetLayer,
[in] long iLayerLine,
[in] CharIndex iLayerIndex,
[out] long *piLocalLine,
[out] CharIndex *piLocalIndex
);