IVsFindSymbolEvents.OnUserOptionsChanged Method

Defines the method called when user search options change.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

‘선언
Function OnUserOptionsChanged ( _
    ByRef guidSymbolScope As Guid, _
    pobSrch As VSOBSEARCHCRITERIA2() _
) As Integer
‘사용 방법
Dim instance As IVsFindSymbolEvents
Dim guidSymbolScope As Guid
Dim pobSrch As VSOBSEARCHCRITERIA2()
Dim returnValue As Integer

returnValue = instance.OnUserOptionsChanged(guidSymbolScope, _
    pobSrch)
int OnUserOptionsChanged(
    ref Guid guidSymbolScope,
    VSOBSEARCHCRITERIA2[] pobSrch
)
int OnUserOptionsChanged(
    [InAttribute] Guid% guidSymbolScope, 
    [InAttribute] array<VSOBSEARCHCRITERIA2>^ pobSrch
)
abstract OnUserOptionsChanged : 
        guidSymbolScope:Guid byref * 
        pobSrch:VSOBSEARCHCRITERIA2[] -> int 
function OnUserOptionsChanged(
    guidSymbolScope : Guid, 
    pobSrch : VSOBSEARCHCRITERIA2[]
) : int

Parameters

  • guidSymbolScope
    Type: System.Guid%
    [in] The new scope GUID or library GUID.

Return Value

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsFindSymbolEvents::OnUserOptionsChanged(
   [in] REFGUID guidSymbolScope, 
   [in] const VSOBSEARCHCRITERIA2 *pobSrch
);

Notes to Implementers

There are five GUIDs for the search scope defined in vsshell80.idl:

GUID Name

Description

GUID_VsSymbolScope_All

Search all scopes for the symbol.

GUID_VsSymbolScope_OBSelectedComponents

Search items selected in the Object Browser for the symbol.

GUID_VsSymbolScope_FSSelectedComponents

Search items selected in the file system.

GUID_VsSymbolScope_Frameworks

Search all frameworks for the symbol.

GUID_VsSymbolScope_Solution

Search the solution for the symbol.

.NET Framework Security

See Also

Reference

IVsFindSymbolEvents Interface

IVsFindSymbolEvents Members

Microsoft.VisualStudio.Shell.Interop Namespace