共用方式為


no_auto_exclude

C++ Specific

Disables automatic exclusion.

no_auto_exclude

Remarks

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. When this is done, Compiler Warning (level 3) C4192 will be issued for each item to be excluded. You can disable this automatic exclusion by using this attribute.

END C++ Specific

See Also

Reference

#import Attributes (C/C++)

#import Directive (C/C++)