Compartir a través de


no_injected_text

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.

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

Other Resources

Compiler Attributes

Attributes Samples