Skip to content

Latest commit

 

History

History
59 lines (52 loc) · 1.42 KB

no-namespace.md

File metadata and controls

59 lines (52 loc) · 1.42 KB
title ms.custom ms.date ms.prod ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager translation.priority.ht
no_namespace | Microsoft Docs
11/01/2016
visual-studio-dev14
devlang-cpp
article
no_namespace
C++
C
no_namespace attribute
5d81b741-a558-451b-b493-1f3b18967337
4
corob-msft
corob
ghogen
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_namespace

C++ Specific

Specifies that the namespace name is not generated by the compiler.

Syntax

no_namespace  

Remarks

The type-library contents in the #import header file are normally defined in a namespace. The namespace name is specified in the library statement of the original IDL file. If the no_namespace attribute is specified, then this namespace is not generated by the compiler.

If you want to use a different namespace name, then use the rename_namespace attribute instead.

END C++ Specific

See Also

#import Attributes
#import Directive