共用方式為


VsFinderClass.GetTaggedSpans(IVsTextSpanSet) Method

Definition

Returns tagged text spans.

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

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.

Implements

Applies to