| title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
|---|---|---|---|---|---|---|
helpstring (C++ COM Attribute) |
10/02/2018 |
|
|
0401e905-a63e-4fad-98d0-d1efea111966 |
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.
| 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