Поделиться через


helpcontext

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

[ helpcontext(
      id
) ]

Параметры

Заметки

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.

См. также

Основные понятия

IDL Attributes

Interface Attributes

Class Attributes

Method Attributes

Typedef, Enum, Union, and Struct Attributes

helpfile

helpstring

ATL Samples