VsTextManagerClass.NavigateToLineAndColumn(IVsTextBuffer, Guid, Int32, Int32, Int32, Int32) Méthode

Définition

Recherche ou crée une vue appropriée dans la mémoire tampon spécifiée et place la sélection à l'emplacement indiqué.

public:
 virtual int NavigateToLineAndColumn(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer, Guid % guidDocViewType, int iStartRow, int iStartIndex, int iEndRow, int iEndIndex) = Microsoft::VisualStudio::TextManager::Interop::IVsTextManager::NavigateToLineAndColumn;
public virtual int NavigateToLineAndColumn (Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer pBuffer, ref Guid guidDocViewType, int iStartRow, int iStartIndex, int iEndRow, int iEndIndex);
abstract member NavigateToLineAndColumn : Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer * Guid * int * int * int * int -> int
override this.NavigateToLineAndColumn : Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer * Guid * int * int * int * int -> int
Public Overridable Function NavigateToLineAndColumn (pBuffer As IVsTextBuffer, ByRef guidDocViewType As Guid, iStartRow As Integer, iStartIndex As Integer, iEndRow As Integer, iEndIndex As Integer) As Integer

Paramètres

pBuffer
IVsTextBuffer

[in] Pointeur vers l'interface IVsTextBuffer.

guidDocViewType
Guid

[in] GUID identifiant la vue. Cette valeur doit toujours être LOGVIEWID_TextView.

iStartRow
Int32

[in] Ligne de début de la sélection à localiser.

iStartIndex
Int32

[in] Index de début de la sélection à localiser.

iEndRow
Int32

[in] Ligne de fin de la sélection à localiser.

iEndIndex
Int32

[in] Index de fin de la sélection à localiser.

Retours

Int32

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

Implémente

S’applique à