Поделиться через


no_injected_text

Prevents the compiler from injecting code as a result of attribute use.

[ no_injected_text(
      boolean
) ];

Параметры

  • boolean(optional)
    true if you want no code injected, false to allow code to be injected. true is the default.

Заметки

The most common use of the no_injected_text C++ attribute is by the /Fx compiler option, which inserts the no_injected_text attribute into the .mrg file.

Требования

Attribute Context

Applies to

Anywhere

Repeatable

No

Required attributes

None

Invalid attributes

None

For more information about the attribute contexts, see Attribute Contexts.

См. также

Основные понятия

Compiler Attributes

ATL Samples