次の方法で共有


IVsContainedLanguageHost.Unadvise(UInt32) Method

Definition

Called by a client that is no longer interested in receiving notifications from the editor.

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

Parameters

vsCookie
UInt32

[in] The unique value that was returned from the Advise(IVsContainedLanguageHostEvents, UInt32) method.

Returns

If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT Unadvise(  
   [in] VSCOOKIE vsCookie  
);  

Applies to