共用方式為


IVsTrackProjectDocuments2.UnadviseTrackProjectDocumentsEvents(UInt32) Method

Definition

This method prevents clients from receiving notifications of project documents events.

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

Parameters

dwCookie
UInt32

[in] Abstract handle that identifies the client to be unadvised of project documents events.

Returns

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

Remarks

COM Signature

From IVsTrackProjectDocuments2.idl

HRESULT IVsTrackProjectDocuments2::UnadviseTrackProjectDocumentsEvents(  
   [in] VSCOOKIE dwCookie  
);  

dwCookie is the same parameter that was returned by the call to AdviseTrackProjectDocumentsEvents.

Applies to