VsFinderClass.SetScope(IVsTextSpanSet) 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.
Restricts search to the span set.
public:
virtual int SetScope(Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet ^ pSpanScope) = Microsoft::VisualStudio::TextManager::Interop::IVsFinder::SetScope;
public:
virtual int SetScope(Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet ^ pSpanScope);
public:
virtual int SetScope(Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet ^ pSpanScope) = Microsoft::VisualStudio::TextManager::Interop::IVsFinder::SetScope;
virtual int SetScope(Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet const & pSpanScope);
public virtual int SetScope (Microsoft.VisualStudio.TextManager.Interop.IVsTextSpanSet pSpanScope);
abstract member SetScope : Microsoft.VisualStudio.TextManager.Interop.IVsTextSpanSet -> int
override this.SetScope : Microsoft.VisualStudio.TextManager.Interop.IVsTextSpanSet -> int
Public Overridable Function SetScope (pSpanScope As IVsTextSpanSet) As Integer
Parameters
- pSpanScope
- IVsTextSpanSet
[in] Scope of the search. Specified as an IVsTextSpanSet.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.