helpstringdll

 

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

Specifies the name of the DLL to use to perform document string lookup (localization).

  
      [ helpstringdll(  
   "string"  
) ]  

Parameters

string
The DLL to use to perform document string lookup.

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

// cpp_attr_ref_helpstringdll.cpp  
// compile with: /LD  
#include <unknwn.h>  
[module(name="MyLib", helpstringdll="xx.dll")];  
  
[object, uuid("00000000-0000-0000-0000-000000000001")]  
__interface IMyI   
{  
   HRESULT xxx();  
};  

Attribute Context

Applies toclass, interface, interface method
RepeatableNo
Required attributesNone
Invalid attributesNone

For more information, see Attribute Contexts.

IDL Attributes
Interface Attributes
Class Attributes
Method Attributes
Attributes Samples

Show: