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: UInt32[in] Abstract handle used to unadvise the client of property changes to the environment.
Return Value
Type: 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
- 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.