VsTextImageClass.GetText, méthode

Retourne le texte d'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 GetText ( _
    pts As TextSpan(), _
    cch As Integer, _
    <OutAttribute> psz As UShort() _
) As Integer
public virtual int GetText(
    TextSpan[] pts,
    int cch,
    ushort[] psz
)
public:
virtual int GetText(
    [InAttribute] array<TextSpan>^ pts, 
    [InAttribute] int cch, 
    [OutAttribute] array<unsigned short>^ psz
)
abstract GetText : 
        pts:TextSpan[] * 
        cch:int * 
        psz:uint16[] byref -> int  
override GetText : 
        pts:TextSpan[] * 
        cch:int * 
        psz:uint16[] byref -> int
public function GetText(
    pts : TextSpan[], 
    cch : int, 
    psz : ushort[]
) : int

Paramètres

  • cch
    Type : Int32

    [in] numéro de personnages à retourner.

  • psz
    Type : array<UInt16[]

    [] le pointeur à null a terminé la chaîne contenant le texte.

Valeur de retour

Type : Int32

Implémentations

IVsTextImage.GetText(array<TextSpan[], Int32, array<UInt16[])

Sécurité .NET Framework

Voir aussi

Référence

VsTextImageClass Classe

Microsoft.VisualStudio.TextManager.Interop, espace de noms