Compartir a través de


IVsFindSymbolEvents2.OnUserOptionsChanged Method

Definition

Defines the method called when user search options change.

public:
 int OnUserOptionsChanged(Guid % guidSymbolScope, System::UInt32 dwSubID, cli::array <Microsoft::VisualStudio::Shell::Interop::VSOBSEARCHCRITERIA2> ^ pobSrch);
public int OnUserOptionsChanged (ref Guid guidSymbolScope, uint dwSubID, Microsoft.VisualStudio.Shell.Interop.VSOBSEARCHCRITERIA2[] pobSrch);
abstract member OnUserOptionsChanged : Guid * uint32 * Microsoft.VisualStudio.Shell.Interop.VSOBSEARCHCRITERIA2[] -> int
Public Function OnUserOptionsChanged (ByRef guidSymbolScope As Guid, dwSubID As UInteger, pobSrch As VSOBSEARCHCRITERIA2()) As Integer

Parameters

guidSymbolScope
Guid

[in] A GUID specifying the search scope or the GUID of a library.

dwSubID
UInt32

[in] Scope subID. Must be zero unless guidSymbolScope is GUID_VsSymbolScope_Frameworks.

pobSrch
VSOBSEARCHCRITERIA2[]

[in] Bit flags indicating search options. Constructed using values from the _VSOBSEARCHOPTIONS2 enumeration.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to