IVsTrackProjectRetargeting2.AdviseTrackProjectRetargetingEvents Method
Subscribes to TrackProjectRetargeting events.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Function AdviseTrackProjectRetargetingEvents ( _
pEventSink As IVsTrackProjectRetargetingEvents, _
<OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
int AdviseTrackProjectRetargetingEvents(
IVsTrackProjectRetargetingEvents pEventSink,
out uint pdwCookie
)
int AdviseTrackProjectRetargetingEvents(
[InAttribute] IVsTrackProjectRetargetingEvents^ pEventSink,
[OutAttribute] unsigned int% pdwCookie
)
abstract AdviseTrackProjectRetargetingEvents :
pEventSink:IVsTrackProjectRetargetingEvents *
pdwCookie:uint32 byref -> int
function AdviseTrackProjectRetargetingEvents(
pEventSink : IVsTrackProjectRetargetingEvents,
pdwCookie : uint
) : int
Parameters
pEventSink
Type: Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectRetargetingEventsThe event sink.
pdwCookie
Type: UInt32%The cookie.
Return Value
Type: Int32
The HRESULT.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.