共用方式為


IVsTextImage.UnadviseTextImageEvents(UInt32) Method

Definition

Cancels the environment's registration to receive notifications of text image changes.

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

Parameters

Cookie
UInt32

[in] Abstract handle for the referenced event sink.

Returns

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

Remarks

The environment will call IVsTextManager.UnadviseTextImageEvents to notify you that it is no longer interested in text image changes.

COM Signature

From textmgr.idl:

HRESULT IVsTextImage::UnadviseTextImageEvents(  
   [in] DWORD Cookie  
);  

Applies to