Share via


no_injected_text

 

The latest version of this topic can be found at no_injected_text.

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

Syntax

  
      [ no_injected_text(  
   boolean  
) ];  

Parameters

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

Remarks

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.

Requirements

Attribute Context

Applies to Anywhere
Repeatable No
Required attributes None
Invalid attributes None

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

See Also

Compiler Attributes
Attributes Samples