IVsSharedAssetsProject.AdviseEvents Method
Subscribes to the shared project's events.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime (in Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime.dll)
Syntax
'Declaration
Function AdviseEvents ( _
pEvents As IVsSharedAssetsProjectEvents _
) As UInteger
uint AdviseEvents(
IVsSharedAssetsProjectEvents pEvents
)
unsigned int AdviseEvents(
[InAttribute] IVsSharedAssetsProjectEvents^ pEvents
)
abstract AdviseEvents :
pEvents:IVsSharedAssetsProjectEvents -> uint32
function AdviseEvents(
pEvents : IVsSharedAssetsProjectEvents
) : uint
Parameters
pEvents
Type: Microsoft.VisualStudio.Shell.Interop.IVsSharedAssetsProjectEventsThe event sink.
Return Value
Type: UInt32
The event cookie.
.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.