Edit

Share via


rename_namespace import attribute

C++ Specific

Renames the namespace that contains the contents of the type library.

Syntax

#import type-library rename_namespace( "NewName" )

Parameters

NewName
The new name of the namespace.

Remarks

The rename_namespace attribute takes a single argument, NewName, which specifies the new name for the namespace.

To remove the namespace, use the no_namespace attribute instead.

END C++ Specific

See also

#import attributes
#import directive