Skip to content

Latest commit

 

History

History
70 lines (60 loc) · 1.59 KB

File metadata and controls

70 lines (60 loc) · 1.59 KB
title no_injected_text | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
vc-attr.no_injected_text
dev_langs
C++
helpviewer_keywords
no_injected_text attribute
ms.assetid 5256f808-e41e-4f4a-9ea5-e447919f5696
caps.latest.revision 10
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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