helpstring

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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

  
      [ helpstring(  
   "string"  
) ]  

Parameters

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 tointerface, typedef, class, method, property
RepeatableNo
Required attributesNone
Invalid attributesNone

For more information, see Attribute Contexts.

IDL Attributes
Interface Attributes
Class Attributes
Method Attributes
Typedef, Enum, Union, and Struct Attributes
helpfile
helpcontext
Attributes Samples

Show: