This documentation is archived and is not being maintained.

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

int UnadviseShellPropertyChanges (
	[InAttribute] uint dwCookie
int UnadviseShellPropertyChanges (
	/** @attribute InAttribute() */ UInt32 dwCookie
function UnadviseShellPropertyChanges (
	dwCookie : uint
) : int



[in] Abstract handle used to unadvise the client of property changes to the environment.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

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.