Freigeben über


VsTextImageClass.GetSpanLength-Methode

Gibt die Anzahl von Zeichen in einem Textabschnitt zurück.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
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

Parameter

  • pcch
    Typ: Int32%

    [out] Zeiger auf eine Zeichenanzahl des Textabschnitts.

Rückgabewert

Typ: Int32

Implementiert

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

.NET Framework-Sicherheit

Siehe auch

Referenz

VsTextImageClass Klasse

Microsoft.VisualStudio.TextManager.Interop-Namespace