Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.1 KB

no-injected-text.md

File metadata and controls

41 lines (29 loc) · 1.1 KB
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
vc-attr.no_injected_text
no_injected_text attribute
5256f808-e41e-4f4a-9ea5-e447919f5696

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 Value
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