Compartilhar via


Source.GetPairExtents Method

Include Protected Members
Include Inherited Members

Gets the text span between a matching pair (or triplet) of language elements.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetPairExtents(IVsTextView, Int32, Int32, TextSpan%) Gets the span between a matching pair of language elements.
Public method GetPairExtents(IVsTextView, Int32, Int32, TextSpan%, TextSpan%) Gets the text spans for a matching pair (or triplet) of language elements.

Top

Remarks

A matching pair of elements is any supported set of language elements, such as { and }, ( and ), [ and ], or < and >.

See Also

Reference

Source Class

Microsoft.VisualStudio.Package Namespace