Skip to content

Commit e967edf

Browse files
committed
update after review
1 parent dd086e8 commit e967edf

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

docs/mfc/reference/add-idl-mfc-method-wizard.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: "Learn more about: Use a Microsoft Visual Studio wizard to add a method to an IDL interface in your MFC or ATL project"
33
title: "Add an IDL MFC method"
4-
ms.date: "03/28/2022"
4+
ms.date: "03/30/2022"
55
f1_keywords: ["vc.codewiz.method.overview", "vc.codewiz.method.idlattrib"]
66
helpviewer_keywords: ["add IDL MFC method wizard [C++]", "IDL MFC methods [C++], adding", "methods [C++], adding using wizards", "IDL attributes, add an IDL MFC method wizard"]
77
ms.custom: devdivchpfy22
@@ -53,7 +53,7 @@ The following section describes the UI that you'll use to add a method:
5353

5454
- **Method name**
5555

56-
Sets the name for the method.
56+
Set the name for the method.
5757

5858
|Interface type|Description|
5959
|--------------------|-----------------|
@@ -98,30 +98,23 @@ The following section describes the UI that you'll use to add a method:
9898
|**Stock**|The default. Inserts the default implementation of the method you select in the **Method name** list. **Return type** is unchangeable if you select **Stock**.|
9999
|**Custom**|You provide a custom implementation for the method selected in **Method name**. You can provide your own return type, or select one from the **Return type** list|
100100

101-
- **Parameter type**
102-
103-
Sets the data type of the parameter. You can type it or select the type from the list.
104-
105-
- **Parameter name**
106-
107-
Sets the name of a parameter. Select **+** to add the parameter to the **parameters** list.
101+
- **Parameters**
108102

109-
> [!NOTE]
110-
> If you supply a parameter name and then select **OK** before you select **+**, the parameter isn't added to the method. You must find the method in the code and insert the parameter manually.
103+
Displays the method's parameters, modifiers, and types. The wizard updates the **Parameters** list as you add parameters.
111104

112105
- **+**
113106

114-
Adds the parameter to the list of **parameters**. Specify the parameter name in **Parameter name**, and its type and parameter attributes in **Parameters**.
107+
Add a parameter. In **Parameters**, type the parameter type, name, and any modifiers. For example, `int x`, and choose **OK**.
115108

116109
If you don't provide a parameter name, the wizard ignores any parameter attributes (ATL only) or **Parameter type** selections.
117110

118111
- **x**
119112

120113
Removes the selected parameter from the **Parameters** list.
121114

122-
- **Parameters**
115+
- **Pencil icon**
123116

124-
Displays all of the methods parameters, modifiers, and types. The wizard updates the **Parameters** list as you add parameters.
117+
Edit the selected parameter.
125118

126119
- `id`
127120

@@ -141,4 +134,4 @@ The following section describes the UI that you'll use to add a method:
141134

142135
## See also
143136

144-
[Adding a Default Method](../../ide/adding-a-method-visual-cpp.md)
137+
[Add Method ](../../ide/adding-a-method-visual-cpp.md)
Loading

0 commit comments

Comments
 (0)