Share via


VsTextSpanSetClass.GetAt(Int32, TextSpan[]) Method

Definition

Returns a requested text span.

public:
 virtual int GetAt(int iEl, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSpan) = Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet::GetAt;
public:
 virtual int GetAt(int iEl, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSpan);
public:
 virtual int GetAt(int iEl, Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSpan) = Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet::GetAt;
 virtual int GetAt(int iEl, std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & pSpan);
public virtual int GetAt (int iEl, Microsoft.VisualStudio.TextManager.Interop.TextSpan[] pSpan);
abstract member GetAt : int * Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
override this.GetAt : int * Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public Overridable Function GetAt (iEl As Integer, pSpan As TextSpan()) As Integer

Parameters

iEl
Int32

[in] Integer containing the text span element number.

pSpan
TextSpan[]

[out] Pointer to a text span object.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to