Partager via


IVsTextImage.GetCharSize, méthode

Retourne le nombre de personnages dans l'image de texte.

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

Syntaxe

'Déclaration
Function GetCharSize ( _
    <OutAttribute> ByRef pcch As Integer _
) As Integer
int GetCharSize(
    out int pcch
)
int GetCharSize(
    [OutAttribute] int% pcch
)
abstract GetCharSize : 
        pcch:int byref -> int
function GetCharSize(
    pcch : int
) : int

Paramètres

  • pcch
    Type : Int32%

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

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 textmgr.idl :

HRESULT IVsTextImage::GetCharSize(
   [out, retval] LONG * pcch
);

Sécurité .NET Framework

Voir aussi

Référence

IVsTextImage Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms