IVsTextViewFilter::GetPairExtents Method (Int32, Int32, array<TextSpan>^)
Visual Studio 2015
Returns the location of a matching pair item, given the location of the first item.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- iLine
-
Type:
System::Int32
[in] Integer containing the line index of the first item in the pair.
- iIndex
-
Type:
System::Int32
[in] Integer containing the column index of the first item in the pair.
- pSpan
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^
[out] Pointer to a text span that identifies the location of the second pair item.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsTextViewFilter::GetPairExtents( [in] long iLine, [in] CharIndex iIndex, [out] TextSpan * pSpan );
Show: