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


helpstring

Specifies a character string that is used to describe the element to which it applies.

[ helpstring(
   "string"
) ]

Параметры

  • string
    The text of the help string.

Заметки

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

Пример

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

Требования

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

helpcontext

ATL Samples