保留關鍵字

本主題列出 MIDL 中的保留關鍵字。 您無法在執行時間類別和成員的名稱中使用這些關鍵字。

保留的關鍵字清單

false

ISO_LATIN_1

ISO_UCS

ISO_MULTI_LINGUAL

NULL

SAFEARRAY

true

__alignof

__asm

__cdecl

__declspec

__出口

__external_symbol

__遠

__fastcall

__float128

__float80

__Fortran

__巨大

__inline

__int128

__int32

__int3264

__int64

__interface_interception_info

__loadds

__method_property

__附近

__帕斯卡

__ptr32

__ptr64

__saveregs

__段

__self

__stdcall

__unaligned

__w64

__winrt_type_serialization_info

_Asm

_cdecl

_declspec

_出口

_遠

_fastcall

_Fortran

_巨大

_內嵌

_loadds

_附近

_帕斯卡

_saveregs

_段

_self

_stdcall

自動

boolean

byte

case

cdecl

char

coclass

const

合約

cpp_quote

declare_guid

default

dispinterface

double

列舉

extern

FLOAT

handle_t

Hyper

import

importlib

include

inline

int

介面

圖書館

long

methods

midl_pragma

模組

附近

帕斯卡

管道

private_char_16

private_char_8

properties

註冊

short

signed

sizeof

小型

static

stdcall

struct

switch

typedef

union

unsigned

void

volatile

在 「[ ]」 組合內保留的關鍵字清單

aggregatable

align

allocate

附註

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

defaultbind

defaultcollelem

defaultvalue

defaultvtable

disable_consistency_check

displaybind

dllname

dual

enable_allocate

編碼

端點

entry

explicit_handle

擴充功能

fault_status

first_is

force_allocate

funcdescattr

處理

堆積

helpcontext

helpfile

helpstring

helpstringcontext

helpstringdll

隱藏

hostContract

id

idempotent

idldescattr

ignore

iid_is

immediatebind

implicit_handle

in

in_line

input_sync

解譯

last_is

lcid

length_is

licensed

本機

local_call

long_enum

manual

max_is

也許

message

min_is

ms_conf_struct

ms_union

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

來源

strict_coNtext_handle

string

switch_is

switch_type

system_handle

transmit_as

type_strict_coNtext_handle

typedescattr

uidefault

未對齊

unique

user_marshal

usesgetlasterror

uuid

v1_array

v1_enum

v1_string

v1_struct

vararg

vardescattr

version

winrt_remote_async

wire_marshal

zeroout_alignmentgap