Freigeben über


IVsTextViewIntellisenseHost.HighlightMatchingBrace Method

Definition

public:
 int HighlightMatchingBrace(System::UInt32 dwFlags, System::UInt32 cSpans, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ rgBaseSpans);
public:
 int HighlightMatchingBrace(unsigned int dwFlags, unsigned int cSpans, Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ rgBaseSpans);
int HighlightMatchingBrace(unsigned int dwFlags, unsigned int cSpans, std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & rgBaseSpans);
public int HighlightMatchingBrace (uint dwFlags, uint cSpans, Microsoft.VisualStudio.TextManager.Interop.TextSpan[] rgBaseSpans);
abstract member HighlightMatchingBrace : uint32 * uint32 * Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public Function HighlightMatchingBrace (dwFlags As UInteger, cSpans As UInteger, rgBaseSpans As TextSpan()) As Integer

Parameters

dwFlags
UInt32

 

cSpans
UInt32

 

rgBaseSpans
TextSpan[]

 

Returns

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

Implements

Remarks

From singlefileeditor.idl:

HRESULT IVsTextViewIntellisenseHost::HighlightMatchingBrace([in] DWORD dwFlags, [in] ULONG cSpans, [in, size_is(cSpans)] TextSpan *rgBaseSpans);  

Applies to