IVsShell::UnadviseShellPropertyChanges Method (UInt32)

 

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)

int UnadviseShellPropertyChanges(
	unsigned int dwCookie
)

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.

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.

Return to top
Show: