Compartilhar via


IVsFinder.GetTaggedSpans(IVsTextSpanSet) Method

Definition

Returns tagged textspans.

public:
 int GetTaggedSpans([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet ^ % ppTags);
public:
 int GetTaggedSpans([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet ^ &  ppTags);
int GetTaggedSpans([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet const & & ppTags);
public int GetTaggedSpans (out Microsoft.VisualStudio.TextManager.Interop.IVsTextSpanSet ppTags);
abstract member GetTaggedSpans : IVsTextSpanSet -> int
Public Function GetTaggedSpans (ByRef ppTags As IVsTextSpanSet) As Integer

Parameters

ppTags
IVsTextSpanSet

[out] Regex tagged expressions. Requires VSFH_SetMatch on Find(String, UInt32, Int32, IVsFindHelper, UInt32).

Returns

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

Remarks

COM Signature

From textfind.idl:

HRESULT IVsFinder::GetTaggedSpans(  
   [out, retval] IVsTextSpanSet ** ppTags  
);  

Applies to