helpcontext

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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

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

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

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

Attribute Context

Applies tointerface, typedef, class, method, property
RepeatableNo
Required attributesNone
Invalid attributesNone

For more information, see Attribute Contexts.

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

Show: