Compartilhar via


helpcontext

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

[ helpcontext( 
   id 
) ]

Parameters

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

Reference

helpfile

helpstring

Other Resources

IDL Attributes

Interface Attributes

Class Attributes

Method Attributes

Typedef, Enum, Union, and Struct Attributes

Attributes Samples