Share via


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

See Also

Reference

IVsRegisterFindScope Interface

Microsoft.VisualStudio.TextManager.Interop Namespace