no_namespace import attribute
C++ Specific
Specifies that the compiler doesn't generate a namespace name.
Syntax
#import type-library 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 isn't 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for