ContextualHelp Class


Contextual Help Class

Contains the details for how Revit should allow invocation of contextual help for an item added by an application.
Inheritance Hierarchy
System Object
Autodesk.Revit.UI ContextualHelp

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class ContextualHelp

The ContextualHelp type exposes the following members.

Constructors
Name Description
Public method ContextualHelp Constructs a contextual help object.
Top
Properties
Name Description
Public property HelpPath The context id, help URL, or help file path.
Public property HelpTopicUrl The help topic URL.
Public property HelpType The contextual help type.
Top
Methods
Name Description
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method Launch Launches and displays the help topic specified by the contents of this ContextualHelp object.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
Remarks
An instance of this class may be used to assign a contextual help location to any RibbonItem (through the RibbonItem.SetContextualHelp() method). It is also possible to use an instance of this class to launch the help path and topic at any time (this permits association of help topics with user interface components inside dialogs created by the add-in application).
See Also