VsFinderClass.GetTaggedSpans(IVsTextSpanSet) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回标记的文本范围。
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) 。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。