description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: no_injected_text |
no_injected_text (C++ COM Attribute) |
10/02/2018 |
|
|
5256f808-e41e-4f4a-9ea5-e447919f5696 |
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 | Value |
---|---|
Applies to | Anywhere |
Repeatable | No |
Required attributes | None |
Invalid attributes | None |
For more information about the attribute contexts, see Attribute Contexts.