VsFinderClass.GetMatch(TextSpan[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.