保留关键字 (MIDL 3.0)
本主题列出了 MIDL 3.0 中的保留关键字。 在运行时类和成员的名称中不能使用这些关键字。 其中的许多保留关键字都记录在 MIDL 1.0 语言参考中。
注意
MIDL 3.0 是 MIDL 1.0、MIDL 2.0 和 MIDL 3.0 的严格超集。 因此,此列表包含 MIDL 1.0、MIDL 2.0 和 MIDL 3.0 的保留关键字的联合。
保留的关键字列表
FALSE
ISO_LATIN_1
ISO_MULTI_LINGUAL
ISO_UCS
Null
SAFEARRAY
TRUE
__alignof
__asm
__cdecl
__declspec
__export
__external_symbol
__far
__fastcall
__float128
__float80
__fortran
__huge
__inline
__int128
__int32
__int3264
__int64
__interface_interception_info
__loadds
__method_property
__near
__pascal
__ptr32
__ptr64
__saveregs
__segment
__self
__stdcall
__unaligned
__w64
__winrt_type_serialization_info
_asm
_cdecl
_declspec
_export
_far
_fastcall
_fortran
_huge
_inline
_loadds
_near
_pascal
_saveregs
_segment
_self
_stdcall
apicontract
attribute
attributename
attributeusage
auto
boolean
字节
case
cdecl
char
coclass
可组合 (composable)
const
constructor_name
contract
contractversion
cpp_quote
把
declare_guid
default
delegate
弃用
已弃用
dispinterface
double
enum
event
eventadd
eventremove
exclusiveto
实验
extern
离
feature
feature_name
float
from_contract
get
handle_t
hyper
import
importlib
include
inline
int
接口
interface_name
内部
库
long
方法
midl_pragma
name
命名空间
near
可重写
overridable_name
部分
帕斯卡
管
private_char_16
private_char_8
properties
protected
protected_name
register
remote_async
remote_sync
remove
需要
return_name
runtimeclass
set
short
signed
sizeof
小型
static
static_name
stdcall
struct
开关
typedef
type
union
未密封
unsigned
void
volatile
在"[ ]"组合内保留的关键字列表
可激活
aggregatable
敏捷
align
allocate
allowmultiple
annotation
appobject
async
async_uuid
auto_handle
bem_handle
bindable
Azure 和 AppSource
broadcast
bstring
byte_count
call_as
回调 (callback)
code
comm_status
context_handle
context_handle_noserialize
context_handle_serialize
控制
cs_char
cs_drtag
cs_rtag
cs_stag
cs_tag_rtn
自定义
custom_allocator
decode
default_allocator
default_interface
default_overload
defaultbind
defaultcollelem
defaultvalue
defaultvtable
disable_consistency_check
displaybind
dllname
dual
enable_allocate
encode
endpoint
entry
explicit_handle
扩展
fault_status
first_is
flags
force_allocate
funcdescattr
句柄
handle_t
堆
helpcontext
helpfile
helpstring
helpstringcontext
helpstringdll
隐藏
hostContract
hyper
id
idempotent
idldescattr
ignore
iid_is
immediatebind
implicit_handle
import
importlib
in
in_line
include
inline
input_sync
int
接口
解释
last_is
lcid
length_is
库
licensed
local
local_call
long
long_enum
manual
marshaling_behavior
max_is
也许
message
方法_名称
方法
midl_pragma
min_is
name
ms_conf_struct
ms_union
Mta
near
nocode
nointerpret
nonbrowsable
noncreatable
无
nonextensible
通知
notify_flag
对象 (object)
odl
off_line
oleautomation
optimize
可选
optional_interface
out
out_of_line
过载
partial_ignore
帕斯卡
管
pointer_default
predeclid
propget
propput
propputref
proxy
ptr
public
range
readonly
ref
更换
represent_as
requestedit
restricted
retval
sh_composition
sh_event
sh_file
sh_job
sh_mutex
sh_pipe
sh_process
sh_reg_key
sh_section
sh_semaphore
sh_socket
sh_thread
sh_token
shape
short_enum
size_is
源
sta
standard
strict_context_handle
字符串
switch_is
switch_type
system_handle
target_all
target_delegate
target_enum
target_event
target_field
target_interface
target_method
target_parameter
target_property
target_runtimeclass
target_runtimeclass_member
target_struct
线程处理
transmit_as
type_strict_context_handle
typedescattr
uidefault
unaligned
unique
user_marshal
usesgetlasterror
uuid
v1_array
v1_enum
v1_string
v1_struct
vararg
vardescattr
版本
wire_marshal
winrt_remote_async
wire_marshal
zeroout_alignmentgap