IVsFinder.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 textspan match.
public:
int GetMatch(cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pts);
public:
int GetMatch(Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pts);
int GetMatch(std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & pts);
public int GetMatch (Microsoft.VisualStudio.TextManager.Interop.TextSpan[] pts);
abstract member GetMatch : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public 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.
Remarks
COM Signature
From textfind.idl:
HRESULT IVsFinder::GetMatch(
[out, retval] TextSpan * pts
);