Freigeben über


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
'Usage
Dim instance As IVsShell
Dim dwCookie As UInteger
Dim returnValue As Integer

returnValue = instance.UnadviseShellPropertyChanges(dwCookie)
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

IVsShell Members

Microsoft.VisualStudio.Shell.Interop Namespace