Freigeben über


VsTextSpanSetClass.GetAt-Methode

Gibt einen angeforderten Textabschnitt zurück.

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

Syntax

'Declaration
Public Overridable Function GetAt ( _
    iEl As Integer, _
    <OutAttribute> pSpan As TextSpan() _
) As Integer
public virtual int GetAt(
    int iEl,
    TextSpan[] pSpan
)
public:
virtual int GetAt(
    [InAttribute] int iEl, 
    [OutAttribute] array<TextSpan>^ pSpan
)
abstract GetAt : 
        iEl:int * 
        pSpan:TextSpan[] byref -> int  
override GetAt : 
        iEl:int * 
        pSpan:TextSpan[] byref -> int
public function GetAt(
    iEl : int, 
    pSpan : TextSpan[]
) : int

Parameter

  • iEl
    Typ: Int32

    [in] Ganze Zahl, die die Textabschnitts elementnummer enthält.

Rückgabewert

Typ: Int32

Implementiert

IVsTextSpanSet.GetAt(Int32, array<TextSpan[])

.NET Framework-Sicherheit

Siehe auch

Referenz

VsTextSpanSetClass Klasse

Microsoft.VisualStudio.TextManager.Interop-Namespace