no_namespace
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at 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