VsFinderClass.GetTaggedSpans(IVsTextSpanSet) 方法

定义

返回标记的文本范围。

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

参数

ppTags
IVsTextSpanSet

弄Regex 标记的表达式。 要求 VSFH_SetMatch Find(String, UInt32, Int32, IVsFindHelper, UInt32)

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

实现

适用于