Share via


raw_method_prefix

 

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 raw_method_prefix. C++ Specific

Specifies a different prefix to avoid name collisions.

Syntax

raw_method_prefix
("Prefix")  

Parameters

Prefix
The prefix to be used.

Remarks

Low-level properties and methods are exposed by member functions named with a default prefix of raw_ to avoid name collisions with the high-level error-handling member functions.

Note

The effects of the raw_method_prefix attribute will not be changed by the presence of the raw_interfaces_only attribute. The raw_method_prefix always takes precedence over raw_interfaces_only in specifying a prefix. If both attributes are used in the same #import statement, then the prefix specified by the raw_method_prefix attribute is used.

END C++ Specific

See Also

#import Attributes
#import Directive