VsTextImageClass.GetSpanLength, méthode

Retourne le nombre de personnages dans une étendue de texte.

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

Syntaxe

'Déclaration
Public Overridable Function GetSpanLength ( _
    pts As TextSpan(), _
    <OutAttribute> ByRef pcch As Integer _
) As Integer
public virtual int GetSpanLength(
    TextSpan[] pts,
    out int pcch
)
public:
virtual int GetSpanLength(
    [InAttribute] array<TextSpan>^ pts, 
    [OutAttribute] int% pcch
)
abstract GetSpanLength : 
        pts:TextSpan[] * 
        pcch:int byref -> int  
override GetSpanLength : 
        pts:TextSpan[] * 
        pcch:int byref -> int
public function GetSpanLength(
    pts : TextSpan[], 
    pcch : int
) : int

Paramètres

  • pcch
    Type : Int32%

    [out] pointeur à un nombre de caractères de l'étendue de texte.

Valeur de retour

Type : Int32

Implémentations

IVsTextImage.GetSpanLength(array<TextSpan[], Int32%)

Sécurité .NET Framework

Voir aussi

Référence

VsTextImageClass Classe

Microsoft.VisualStudio.TextManager.Interop, espace de noms