--- title: "raw_method_prefix | Microsoft Docs" ms.custom: "" ms.date: "11/04/2016" ms.reviewer: "" ms.suite: "" ms.technology: - "cpp-tools" ms.tgt_pltfrm: "" ms.topic: "article" f1_keywords: - "raw_method_prefix" dev_langs: - "C++" helpviewer_keywords: - "raw_method_prefix attribute" ms.assetid: 71490313-af78-4bb2-b28a-eee67950d30b caps.latest.revision: 4 author: "corob-msft" ms.author: "corob" manager: "ghogen" translation.priority.ht: - "cs-cz" - "de-de" - "es-es" - "fr-fr" - "it-it" - "ja-jp" - "ko-kr" - "pl-pl" - "pt-br" - "ru-ru" - "tr-tr" - "zh-cn" - "zh-tw" --- # 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](#_predir_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](../preprocessor/hash-import-attributes-cpp.md) [#import Directive](../preprocessor/hash-import-directive-cpp.md)