IVsFinder.GetMatchedSpans(IVsTextSpanSet) Methode

Definition

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

Int32

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  
);  

Gilt für