include() import attribute
C++ Specific
Disables automatic exclusion.
Syntax
#import type-library include( "Name1" [,"Name2" ... ] )
Parameters
Name1
First item to be forcibly included.
Name2
Second item to be forcibly included (if necessary).
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. 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
See also
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ