Share via


helpcontext

 

The latest version of this topic can be found at helpcontext.

Specifies a context ID that lets the user view information about this element in the Help file.

Syntax

  
      [ helpcontext(  
   id  
) ]  

Parameters

id
The context ID of the help topic. See HTML Help: Context-Sensitive Help for Your Programs for more information on context IDs.

Remarks

The helpcontext C++ attribute has the same functionality as the helpcontext MIDL attribute.

Example

See the example for defaultvalue for an example of how to use helpcontext.

Requirements

Attribute Context

Applies to interface, typedef, class, method, property
Repeatable No
Required attributes None
Invalid attributes None

For more information, see Attribute Contexts.

See Also

IDL Attributes
Interface Attributes
Class Attributes
Method Attributes
Typedef, Enum, Union, and Struct Attributes
helpfile
helpstring
Attributes Samples