共用方式為


Override Specifiers (C++ Component Extensions)

 

The latest version of this topic can be found at Override Specifiers (C++ Component Extensions). Override specifiers modify how inherited types and members of inherited types behave in derived types.

All Runtimes

Remarks

For more information about override specifiers, see:

abstract and sealed are also valid on type declarations, where they do not act as override specifiers.

For information about explicitly overriding base class functions, see Explicit Overrides.

Windows Runtime

(There are no remarks for this language feature that apply to only the Windows Runtime.)

Requirements

Compiler option: /ZW

Common Language Runtime

(There are no remarks for this language feature that apply to only the common language runtime.)

Requirements

Compiler option: /clr

See Also

Component Extensions for Runtime Platforms