Defines the method called when user search options change.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Syntax
'宣言
Function OnUserOptionsChanged ( _
ByRef guidSymbolScope As Guid, _
dwSubID As UInteger, _
pobSrch As VSOBSEARCHCRITERIA2() _
) As Integer
'使用
Dim instance As IVsFindSymbolEvents2
Dim guidSymbolScope As Guid
Dim dwSubID As UInteger
Dim pobSrch As VSOBSEARCHCRITERIA2()
Dim returnValue As Integer
returnValue = instance.OnUserOptionsChanged(guidSymbolScope, _
dwSubID, pobSrch)
int OnUserOptionsChanged(
ref Guid guidSymbolScope,
uint dwSubID,
VSOBSEARCHCRITERIA2[] pobSrch
)
int OnUserOptionsChanged(
[InAttribute] Guid% guidSymbolScope,
[InAttribute] unsigned int dwSubID,
[InAttribute] array<VSOBSEARCHCRITERIA2>^ pobSrch
)
function OnUserOptionsChanged(
guidSymbolScope : Guid,
dwSubID : uint,
pobSrch : VSOBSEARCHCRITERIA2[]
) : int
Parameters
guidSymbolScope
Type: System.Guid%[in] A GUID specifying the search scope or the GUID of a library.
dwSubID
Type: System.UInt32[in] Scope subID. Must be zero unless guidSymbolScope is GUID_VsSymbolScope_Frameworks.
pobSrch
Type: [][in] Bit flags indicating search options. Constructed using values from the _VSOBSEARCHOPTIONS2 enumeration.
Return Value
Type: System.Int32
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.