다음을 통해 공유


IVsShell.UnadviseShellPropertyChanges(UInt32) Method

Definition

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

public:
 int UnadviseShellPropertyChanges(System::UInt32 dwCookie);
public:
 int UnadviseShellPropertyChanges(unsigned int dwCookie);
int UnadviseShellPropertyChanges(unsigned int dwCookie);
public int UnadviseShellPropertyChanges (uint dwCookie);
abstract member UnadviseShellPropertyChanges : uint32 -> int
Public Function UnadviseShellPropertyChanges (dwCookie As UInteger) As Integer

Parameters

dwCookie
UInt32

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

Returns

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.

Applies to