IVsRegisterFindScope::RegisterFindScope Method (IVsFindScope^, UInt32)
Visual Studio 2015
Registers the specified find scope for Find in Files.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- pScope
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsFindScope^
[in] The scope to use for Find in Files.
- pdwCookie
-
Type:
System::UInt32
[out] Cookie for the registered find scope.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsRegisterFindScope::RegisterFindScope(
[in] IVsFindScope * pScope,
[out] DWORD_PTR * pdwCookie
);
Show: