VsTextSpanSetClass.GetAt Method
Returns a requested text span.
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
Parameters
- iEl
Type: System.Int32
[in] Integer containing the text span element number.
- pSpan
Type: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
[out] Pointer to a text span object.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsTextSpanSet.GetAt(Int32, array<TextSpan[])
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.