VsTextViewClass.HighlightMatchingBrace(UInt32, UInt32, TextSpan[]) Method

Definition

Highlights the matching brace in a language construct.

C++/CX
public:
 virtual int HighlightMatchingBrace(unsigned int dwFlags, unsigned int cSpans, Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ rgBaseSpans) = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::HighlightMatchingBrace;

Parameters

dwFlags
UInt32

[in] Parameter is not used.

cSpans
UInt32

[in] Number of matching pairs to highlight within the text span.

rgBaseSpans
TextSpan[]

[in, size_is(cSpans)] Span of text to highlight within.

Returns

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

Implements

Applies to

Produkt Versiounen
Visual Studio SDK 2015, 2017, 2019, 2022