Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

helpcontext

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

[ helpcontext( 
   id 
) ]

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 to

interface, typedef, class, method, property

Repeatable

No

Required attributes

None

Invalid attributes

None

For more information, see Attribute Contexts.

Community Additions

ADD
Show:
© 2015 Microsoft