IVsFinder.GetMatchedSpans(IVsTextSpanSet) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft übereinstimmende Textspannen ab.
public:
int GetMatchedSpans([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet ^ % ppSpans);
public:
int GetMatchedSpans([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet ^ & ppSpans);
int GetMatchedSpans([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet const & & ppSpans);
public int GetMatchedSpans (out Microsoft.VisualStudio.TextManager.Interop.IVsTextSpanSet ppSpans);
abstract member GetMatchedSpans : IVsTextSpanSet -> int
Public Function GetMatchedSpans (ByRef ppSpans As IVsTextSpanSet) As Integer
Parameter
- ppSpans
- IVsTextSpanSet
[out] Sammelsuchliste. Erfordert VSFH_SetMatch bei Suchen.
Gibt zurück
Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.
Hinweise
COM-Signatur
Aus "textfind. idl":
HRESULT IVsFinder::GetMatchedSpans(
[out, retval] IVsTextSpanSet ** ppSpans
);