共用方式為


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

'宣告
Public Overridable Function SetScope ( _
    pSpanScope As IVsTextSpanSet _
) As Integer
'用途
Dim instance As VsFinderClass
Dim pSpanScope As IVsTextSpanSet
Dim returnValue As Integer

returnValue = instance.SetScope(pSpanScope)
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

Implements

IVsFinder.SetScope(IVsTextSpanSet)

.NET Framework Security

See Also

Reference

VsFinderClass Class

VsFinderClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace