IVsTextViewEx.GetClusterRange, méthode

Les retours groupent les informations de plage.

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop.8.0 (dans Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntaxe

'Déclaration
Function GetClusterRange ( _
    iLine As Integer, _
    iDisplayCol As Integer, _
    <OutAttribute> ByRef picCharacter As Integer, _
    <OutAttribute> ByRef piStartCol As Integer, _
    <OutAttribute> ByRef piEndCol As Integer _
) As Integer
int GetClusterRange(
    int iLine,
    int iDisplayCol,
    out int picCharacter,
    out int piStartCol,
    out int piEndCol
)
int GetClusterRange(
    [InAttribute] int iLine, 
    [InAttribute] int iDisplayCol, 
    [OutAttribute] int% picCharacter, 
    [OutAttribute] int% piStartCol, 
    [OutAttribute] int% piEndCol
)
abstract GetClusterRange : 
        iLine:int * 
        iDisplayCol:int * 
        picCharacter:int byref * 
        piStartCol:int byref * 
        piEndCol:int byref -> int
function GetClusterRange(
    iLine : int, 
    iDisplayCol : int, 
    picCharacter : int, 
    piStartCol : int, 
    piEndCol : int
) : int

Paramètres

  • iLine
    Type : Int32

    [in]

  • iDisplayCol
    Type : Int32

    [in]

  • picCharacter
    Type : Int32%

    [out]

  • piStartCol
    Type : Int32%

    [out]

  • piEndCol
    Type : Int32%

    [out]

Valeur de retour

Type : Int32
Si la méthode réussit, elle retourne S_OK.En cas d'échec, un code d'erreur est retourné.

Notes

Signature de COM

De textmgr2.idl :

HRESULT IVsTextViewEx::GetClusterRange(
   [in]long iLine, 
   [in]INT iDisplayCol, 
   [out]INT *picCharacter, 
   [out]INT *piStartCol, 
   [out]INT *piEndCol
);

Les retours groupent les informations de plage données le numéro de ligne et l'index du personnage actuel

Sécurité .NET Framework

Voir aussi

Référence

IVsTextViewEx Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms