| description | Learn more about: auto_rename import attribute | |
|---|---|---|
| title | auto_rename import attribute | |
| ms.date | 08/29/2019 | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | 1075f3ab-f6fc-4e04-8e22-ebe02695a567 |
C++ Specific
Renames C++ reserved words by appending two underscores (__) to the variable name to resolve potential name conflicts.
#import type-library auto_rename
This attribute is used when importing a type library that uses one or more C++ reserved words (keywords or macros) as variable names.
END C++ Specific