Redigera

Dela via


Override Specifiers (C++/CLI and C++/CX)

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 .NET and UWP