Add Parameters and Add Arguments Dialog Boxes

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The following table describes the user interface (UI) elements of the Add Parameters dialog box used by the InvokeMethod designer:

Name Value
Direction Specifies whether the parameter represents the flow of data into the method, out of the method, or both.
Type The type name of the new parameter.
Value A Visual Basic expression that is used to assign a default value to the new parameter

The following table describes the user interface (UI) elements of the Add Arguments dialog box used by the InvokeDelegate designer:

Name Value
Name The name of the argument.
Direction Specifies whether the argument represents the flow of data into the delegate, out of the delegate, or both.
Type The type name of the new argument.
Value The value to be used for this instance of the delegate argument.