共用方式為


VsFinderClass.GetMatchedSpans(IVsTextSpanSet) Method

Definition

Gets matched text spans.

public:
 virtual int GetMatchedSpans([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet ^ % ppSpans) = Microsoft::VisualStudio::TextManager::Interop::IVsFinder::GetMatchedSpans;
public:
 virtual int GetMatchedSpans([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet ^ % ppSpans);
public:
 virtual int GetMatchedSpans([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet ^ &  ppSpans) = Microsoft::VisualStudio::TextManager::Interop::IVsFinder::GetMatchedSpans;
 virtual int GetMatchedSpans([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet const & & ppSpans);
public virtual int GetMatchedSpans (out Microsoft.VisualStudio.TextManager.Interop.IVsTextSpanSet ppSpans);
abstract member GetMatchedSpans : IVsTextSpanSet -> int
override this.GetMatchedSpans : IVsTextSpanSet -> int
Public Overridable Function GetMatchedSpans (ByRef ppSpans As IVsTextSpanSet) As Integer

Parameters

ppSpans
IVsTextSpanSet

[out] Bulk find list. Requires VSFH_SetMatch on Find.

Returns

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

Implements

Applies to