Share via


VsFinderClass.GetMatch(TextSpan[]) Method

Definition

Gets a text span match.

public:
 virtual int GetMatch(cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pts) = Microsoft::VisualStudio::TextManager::Interop::IVsFinder::GetMatch;
public:
 virtual int GetMatch(cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pts);
public:
 virtual int GetMatch(Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pts) = Microsoft::VisualStudio::TextManager::Interop::IVsFinder::GetMatch;
 virtual int GetMatch(std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & pts);
public virtual int GetMatch (Microsoft.VisualStudio.TextManager.Interop.TextSpan[] pts);
abstract member GetMatch : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
override this.GetMatch : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public Overridable Function GetMatch (pts As TextSpan()) As Integer

Parameters

pts
TextSpan[]

[out] Current match. Does not require 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