//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ /* */ namespace System.ComponentModel.Design { using System.Runtime.Remoting; using System.ComponentModel; using System.Diagnostics; using System; /// /// /// Provides the Integrated Development Environment (IDE) help /// system with contextual information for the current task. /// public interface IHelpService { /// /// Adds a context attribute to the document. /// void AddContextAttribute(string name, string value, HelpKeywordType keywordType); /// /// Clears all existing context attributes from the document. /// void ClearContextAttributes(); /// /// Creates a Local IHelpService to manage subcontexts. /// IHelpService CreateLocalContext(HelpContextType contextType); /// /// /// Removes a previously added context attribute. /// /// void RemoveContextAttribute(string name, string value); /// /// Removes a context that was created with CreateLocalContext /// void RemoveLocalContext(IHelpService localContext); /// /// Shows the help topic that corresponds to the specified keyword. /// void ShowHelpFromKeyword(string helpKeyword); /// /// /// Shows the help topic that corresponds with the specified Url and topic navigation ID. /// /// void ShowHelpFromUrl(string helpUrl); } }