|
1 | 1 | ---
|
2 |
| -description: "Learn more about: Add a method" |
| 2 | +description: "Learn more about: Add a method to an interface in your project" |
3 | 3 | title: "Add a method"
|
4 |
| -ms.date: "03/09/2022" |
| 4 | +ms.date: "03/11/2022" |
5 | 5 | f1_keywords: ["vc.codewiz.method.overview", "vc.codewiz.method.idlattrib"]
|
6 | 6 | helpviewer_keywords: ["add method wizard [C++]", "methods [C++], adding", "methods [C++], adding using wizards", "IDL attributes, add method wizard"]
|
7 | 7 | ms.assetid: 4ba4e45f-fa38-4d5e-af44-cbec0a7ab558
|
@@ -95,26 +95,26 @@ Use this wizard to add a method to an interface.
|
95 | 95 |
|
96 | 96 | - **+**
|
97 | 97 |
|
98 |
| - Adds the parameter to the list of parameters. Specify parameter name in **Parameter name**, and its type and parameter attributes, to **Parameters**. |
| 98 | + Adds the parameter to the list of parameters. Specify the parameter name in **Parameter name**, and its type and parameter attributes, to **Parameters** list. |
99 | 99 |
|
100 | 100 | - **x**
|
101 | 101 |
|
102 |
| - Removes the parameter you select in **Parameters** from the list. |
| 102 | + Removes the selected parameter from the **Parameters** list. |
103 | 103 |
|
104 | 104 | - **Parameters**
|
105 | 105 |
|
106 |
| - Displays all parameters and their modifiers and types currently added for the method. As you add parameters, the wizard updates **Parameters** to display each parameter, with its modifier and type. |
| 106 | + Displays all of the methods parameters, modifiers, and types. The wizard updates the **Parameters** list as you add parameters. |
107 | 107 |
|
108 | 108 | - **Parameter attributes**
|
109 | 109 |
|
110 | 110 | Sets any other attributes for the parameter specified in **Parameter name**.
|
111 | 111 | 1. **Infer in/out parameters values from types**
|
112 | 112 |
|
113 |
| - Select the checkbox to infer in or out parameter values from type of parameter. |
| 113 | + Infer in or out parameter values from their types. |
114 | 114 |
|
115 | 115 | 1. **Set the last parameter as the return value (retval)**
|
116 | 116 |
|
117 |
| - Select the checkbox to set the last parameter as the return value. |
| 117 | + Set the last parameter as the return value. |
118 | 118 |
|
119 | 119 | ## IDL attributes, add method wizard
|
120 | 120 |
|
|
0 commit comments