Compartilhar via


IVsTrackProjectRetargeting2.AdviseTrackProjectRetargetingEvents Method

Definition

Subscribes to TrackProjectRetargeting events.

public:
 int AdviseTrackProjectRetargetingEvents(Microsoft::VisualStudio::Shell::Interop::IVsTrackProjectRetargetingEvents ^ pEventSink, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
int AdviseTrackProjectRetargetingEvents(Microsoft::VisualStudio::Shell::Interop::IVsTrackProjectRetargetingEvents const & pEventSink, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public int AdviseTrackProjectRetargetingEvents (Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectRetargetingEvents pEventSink, out uint pdwCookie);
abstract member AdviseTrackProjectRetargetingEvents : Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectRetargetingEvents * uint32 -> int
Public Function AdviseTrackProjectRetargetingEvents (pEventSink As IVsTrackProjectRetargetingEvents, ByRef pdwCookie As UInteger) As Integer

Parameters

pEventSink
IVsTrackProjectRetargetingEvents

The event sink.

pdwCookie
UInt32

The cookie.

Returns

The HRESULT.

Implements

Applies to