Compartilhar via


VsFinderClass.SetScope(IVsTextSpanSet) Method

Definition

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.

Implements

Applies to