description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: include() import attribute |
include() import attribute |
08/29/2019 |
|
|
86c9dcb2-d9e0-4fd5-97d7-0bb3e23d6ecc |
C++ Specific
Disables automatic exclusion.
#import type-library include( "Name1" [,"Name2" ... ] )
Name1
First item to be forcibly included.
Name2
Second item to be forcibly included (if necessary).
Type libraries may include definitions of items defined in system headers or other type libraries. #import
attempts to avoid multiple definition errors by automatically excluding such items. If some items shouldn't be excluded automatically, you may see Compiler Warning (level 3) C4192. You can use this attribute to disable the automatic exclusion. This attribute can take any number of arguments, one for each name of a type-library item to be included.
END C++ Specific