UnadviseTrackProjectDocumentsEvents Method
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

IVsTrackProjectDocuments2.UnadviseTrackProjectDocumentsEvents Method

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

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int UnadviseTrackProjectDocumentsEvents (
	[InAttribute] uint dwCookie
int UnadviseTrackProjectDocumentsEvents (
	/** @attribute InAttribute() */ UInt32 dwCookie
function UnadviseTrackProjectDocumentsEvents (
	dwCookie : uint
) : int



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

Return Value

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

COM Signature

From IVsTrackProjectDocuments2.idl

HRESULT IVsTrackProjectDocuments2::UnadviseTrackProjectDocumentsEvents(
   [in] VSCOOKIE dwCookie

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

© 2015 Microsoft