Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
no_injected_text

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.

Show:
© 2015 Microsoft