Skip to content

Commit 878ef91

Browse files
committed
Update for VS 2022
1 parent a6e354e commit 878ef91

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/ide/adding-a-method-visual-cpp.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: "Learn more about: Add a method"
33
title: "Add a method"
4-
ms.date: "03/08/2022"
4+
ms.date: "03/09/2022"
55
f1_keywords: ["vc.codewiz.method.overview", "vc.codewiz.method.idlattrib"]
66
helpviewer_keywords: ["add method wizard [C++]", "methods [C++], adding", "methods [C++], adding using wizards", "IDL attributes, add method wizard"]
77
ms.assetid: 4ba4e45f-fa38-4d5e-af44-cbec0a7ab558
@@ -35,7 +35,7 @@ You can use the [add method wizard](#add-method-wizard) to add a method to an in
3535

3636
## Add method wizard
3737

38-
Use this wizard to add a method to an interface. Depending on the project type or interface type to which you're adding a method, the wizard displays different options.
38+
Use this wizard to add a method to an interface. The wizard displays different options depending on the project or interface type to which you're adding a method.
3939

4040
### Names
4141

@@ -61,7 +61,7 @@ Use this wizard to add a method to an interface. Depending on the project type o
6161

6262
- **Return type**
6363

64-
The data type returned by the method. `HRESULT` is recommended for all interface types, because it provides a standard way to return errors.
64+
The data type returned by the method. `HRESULT` is recommended for all interface types, as it provides a standard way to return errors.
6565

6666
|Interface type|Description|
6767
|--------------------|-----------------|
@@ -90,7 +90,7 @@ Use this wizard to add a method to an interface. Depending on the project type o
9090

9191
Sets the name of a parameter to pass through your method. After you type the name, select **`+`** to add it to the list of parameters that will pass through your method. If you don't provide a parameter name, the wizard ignores any parameter attributes (ATL only) or **Parameter type** selections.
9292

93-
Once you select **`+`**, the parameter name appears in **Parameters**.
93+
When you select **`+`**, the parameter name appears in **Parameters**.
9494

9595
> [!NOTE]
9696
> 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 and insert the parameter manually.

0 commit comments

Comments
 (0)