/// <include file='doc\VsTaskItem.uex' path='docs/doc[@for="VsTaskItem.NavigateToHelp"]/*' />
 /// <devdoc>
 ///    <para>[To be supplied.]</para>
 /// </devdoc>
 public int NavigateToHelp()
 {
     if (helpKeyword.Length != 0 && serviceProvider != null)
     {
         IVsHelp help = (IVsHelp)serviceProvider.GetService(typeof(IVsHelp));
         if (help != null)
         {
             help.DisplayTopicFromF1Keyword(helpKeyword);
             return(NativeMethods.S_OK);
         }
     }
     return(NativeMethods.E_NOTIMPL);
 }
        /// <include file='doc\HelpService.uex' path='docs/doc[@for="HelpService.ShowHelpFromKeyword"]/*' />
        /// <devdoc>
        ///     Shows the help topic corresponding the specified keyword.
        ///     The topic will be displayed in
        ///     the environment's integrated help system.
        /// </devdoc>
        public virtual void ShowHelpFromKeyword(string helpKeyword)
        {
            IVsHelp help = (IVsHelp)provider.GetService(typeof(IVsHelp));

            if (help != null)
            {
                try {
                    help.DisplayTopicFromF1Keyword(helpKeyword);
                }
                catch (Exception) {
                    // IVsHelp causes a ComException to be thrown if the help
                    // topic isn't found.
                }
            }
        }
 /// <include file='doc\StyleBuilderSite.uex' path='docs/doc[@for="StyleBuilderSite.ShowHelp"]/*' />
 /// <devdoc>
 /// </devdoc>
 public void ShowHelp(string helpKeyword)
 {
     Debug.Assert(helpKeyword != null, "null helpKeyword!");
     if (site != null)
     {
         try {
             IVsHelp help = (IVsHelp)QueryService(typeof(IVsHelp));
             if (help != null)
             {
                 help.DisplayTopicFromF1Keyword(helpKeyword);
             }
         }
         catch (Exception e) {
             Debug.Fail(e.ToString());
         }
     }
 }