Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.09 KB

File metadata and controls

37 lines (28 loc) · 1.09 KB
title no_namespace | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.technology
cpp-tools
ms.topic reference
f1_keywords
no_namespace
dev_langs
C++
helpviewer_keywords
no_namespace attribute
ms.assetid 5d81b741-a558-451b-b493-1f3b18967337
author corob-msft
ms.author corob
ms.workload
cplusplus

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