Skip to content

ContextualHelp

Public 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.


Properties

Name

Description


Public Property

The context id, help URL, or help file path.


Public Property
HelpTopicUrl

The help topic URL.


Public Property

The contextual help type.


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

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)


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).