no_injected_text

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

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

  
      [ 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.

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 toAnywhere
RepeatableNo
Required attributesNone
Invalid attributesNone

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

Compiler Attributes
Attributes Samples

Show: