保留關鍵字 (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

屬性

attributename

attributeusage

自動

boolean

byte

case

cdecl

char

coclass

可組合

const

constructor_name

合約

contractversion

cpp_quote

宣佈

declare_guid

預設

Delegate - 委派

取代

deprecated

dispinterface

double

列舉

event

eventadd

eventremove

exclusiveto

實驗性

extern

功能

feature_name

FLOAT

from_contract

get

handle_t

Hyper

import

importlib

include

inline

int

介面

interface_name

internal

圖書館

long

methods

midl_pragma

name

命名空間

near

overridable_name

partial

帕斯卡

管道

private_char_16

private_char_8

properties

受保護

protected_name

註冊

remote_async

remote_sync

remove

需要

return_name

runtimeclass

set

short

signed

sizeof

小型

static

static_name

stdcall

struct

switch

typedef

類型

union

非密封

unsigned

void

volatile

在 "[]" 組合中保留的關鍵字清單

可啟動

aggregatable

敏捷

align

allocate

allowmultiple

附註

appobject

async

async_uuid

auto_handle

bem_handle

bindable

兩者皆可

broadcast

bstring

byte_count

call_as

回撥

code

comm_status

coNtext_handle

coNtext_handle_noserialize

coNtext_handle_serialize

控制

cs_char

cs_drtag

cs_rtag

cs_stag

cs_tag_rtn

自訂

custom_allocator

解碼

default_allocator

default_interface

default_overload

defaultbind

defaultcollelem

defaultvalue

defaultvtable

disable_consistency_check

displaybind

dllname

dual

enable_allocate

編碼

端點

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_call

long

long_enum

manual

marshaling_behavior

max_is

也許

message

method_name

methods

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

標準

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

threading

transmit_as

type_strict_coNtext_handle

typedescattr

uidefault

unique

user_marshal

usesgetlasterror

uuid

v1_array

v1_enum

v1_string

v1_struct

vararg

vardescattr

version

wire_marshal

winrt_remote_async

wire_marshal

zeroout_alignmentgap