Share via


VsFinderClass.SetScope Method

Restricts search to the span set.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Public Overridable Function SetScope ( _
    pSpanScope As IVsTextSpanSet _
) As Integer
public virtual int SetScope(
    IVsTextSpanSet pSpanScope
)
public:
virtual int SetScope(
    [InAttribute] IVsTextSpanSet^ pSpanScope
)
abstract SetScope : 
        pSpanScope:IVsTextSpanSet -> int  
override SetScope : 
        pSpanScope:IVsTextSpanSet -> int
public function SetScope(
    pSpanScope : IVsTextSpanSet
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsFinder.SetScope(IVsTextSpanSet)

.NET Framework Security

See Also

Reference

VsFinderClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace