IVsRegisterFindScope.UnRegisterFindScope Method
Un-registers the specified find scope.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function UnRegisterFindScope ( _
dwCookie As UInteger _
) As Integer
int UnRegisterFindScope(
uint dwCookie
)
int UnRegisterFindScope(
[InAttribute] unsigned int dwCookie
)
abstract UnRegisterFindScope :
dwCookie:uint32 -> int
function UnRegisterFindScope(
dwCookie : uint
) : int
Parameters
dwCookie
Type: System.UInt32[in] Cookie of the registered find scope to be un-registered.
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 textmgr.idl:
HRESULT IVsRegisterFindScope::UnRegisterFindScope(
[in] DWORD_PTR dwCookie
);
.NET Framework Security
- 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.