共用方式為


rename_namespace

C++ Specific

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

rename_namespace("NewName")

Parameters

  • NewName
    The new name of the namespace.

Remarks

It 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

Reference

#import Attributes (C/C++)

#import Directive (C/C++)