Share via


IVsShell.UnadviseShellPropertyChanges Method

Disables clients from receiving notifications of property changes to the environment.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function UnadviseShellPropertyChanges ( _
    dwCookie As UInteger _
) As Integer
int UnadviseShellPropertyChanges(
    uint dwCookie
)
int UnadviseShellPropertyChanges(
    [InAttribute] unsigned int dwCookie
)
abstract UnadviseShellPropertyChanges : 
        dwCookie:uint32 -> int 
function UnadviseShellPropertyChanges(
    dwCookie : uint
) : int

Parameters

  • dwCookie
    Type: System.UInt32
    [in] Abstract handle used to unadvise the client of property changes to the environment.

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 vsshell.idl:

HRESULT IVsShell::UnadviseShellPropertyChanges(
   [in] VSCOOKIE dwCookie
);

The dwCookie used in this method is the same cookie that was returned by the call to AdviseShellPropertyChanges.

.NET Framework Security

See Also

Reference

IVsShell Interface

Microsoft.VisualStudio.Shell.Interop Namespace