Esempio n. 1
0
 /// <summary>
 ///     Establishes client notification of solution events.
 /// </summary>
 /// <param name="package">
 ///     Pointer to the Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents interface on the object
 ///     requesting notification of solution events.
 /// </param>
 /// <returns>
 ///     If the method succeeds, it returns <see cref="Microsoft.VisualStudio.VSConstants.S_OK" />. If it fails, it
 ///     returns an error code.
 /// </returns>
 public int AdviseSolutionEvents(Package package)
 {
     return(Solution2.AdviseSolutionEvents(package, out _solutionEventsCookie));
 }