VsFinderClass.GetMatchedSpans-Methode
Ruft die Spanne des entsprechenden Text ab.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Public Overridable Function GetMatchedSpans ( _
<OutAttribute> ByRef ppSpans As IVsTextSpanSet _
) As Integer
public virtual int GetMatchedSpans(
out IVsTextSpanSet ppSpans
)
public:
virtual int GetMatchedSpans(
[OutAttribute] IVsTextSpanSet^% ppSpans
)
abstract GetMatchedSpans :
ppSpans:IVsTextSpanSet byref -> int
override GetMatchedSpans :
ppSpans:IVsTextSpanSet byref -> int
public function GetMatchedSpans(
ppSpans : IVsTextSpanSet
) : int
Parameter
ppSpans
Typ: Microsoft.VisualStudio.TextManager.Interop.IVsTextSpanSet%[out] Großteil der Liste suchen. Erfordert VSFH_SetMatch auf Suchen.
Rückgabewert
Typ: Int32
Implementiert
IVsFinder.GetMatchedSpans(IVsTextSpanSet%)
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.